====== ThinkGeo.MapSuite.SilverlightEdition.LayerOverlay ====== {{section>upgrade_map_suite_to_10.0}} This class represents an Overlay that contains layers such as ShapeFileFeatureLayer, InMemoryFeatureLayer.. ===== Inheritance Hierarchy ===== *System.Object *ThinkGeo.MapSuite.SilverlightEdition.Overlay ***ThinkGeo.MapSuite.SilverlightEdition.LayerOverlay** ===== Members Summary ===== ==== Public Constructors ==== ** {{wiki:PublicMethod.gif|}} LayerOverlay() ** * //This is constructor of LayerOverlay class.// == Remarks == * //This is constructor of LayerOverlay class.// == Parameters ==
** {{wiki:PublicMethod.gif|}} LayerOverlay(String) ** * //This is constructor of LayerOverlay class.// == Remarks == * //This is constructor of LayerOverlay class.// == Parameters == * //name// * Type:String * Description:A string value indicating the name of this overlay.
==== Protected Constructors ==== ==== Public Methods ==== ** {{wiki:PublicMethod.gif|}} Refresh() ** * //N/A// == Remarks == * //N/A// == Return Value == * Type:Void * Description:N/A == Parameters ==
** {{wiki:PublicMethod.gif|}} Draw(RectangleShape,OverlayDrawType) ** * //N/A// == Remarks == * //N/A// == Return Value == * Type:Void * Description:N/A == Parameters == * //worldExtent// * Type:[[ThinkGeo.MapSuite.SilverlightCore.RectangleShape|RectangleShape]] * Description:N/A * //overlayDrawType// * Type:[[ThinkGeo.MapSuite.SilverlightEdition.OverlayDrawType|OverlayDrawType]] * Description:N/A
** {{wiki:PublicMethod.gif|}} Initialize(Map) ** * //N/A// == Remarks == * //N/A// == Return Value == * Type:Void * Description:N/A == Parameters == * //currentMap// * Type:[[ThinkGeo.MapSuite.SilverlightEdition.Map|Map]] * Description:N/A
** {{wiki:PublicMethod.gif|}} ToWorldCoordinate(Double,Double) ** * //N/A// == Remarks == * //N/A// == Return Value == * Type:[[ThinkGeo.MapSuite.SilverlightCore.PointShape|PointShape]] * Description:N/A == Parameters == * //screenX// * Type:Double * Description:N/A * //screenY// * Type:Double * Description:N/A
** {{wiki:PublicMethod.gif|}} ToWorldCoordinate(PointShape) ** * //N/A// == Remarks == * //N/A// == Return Value == * Type:[[ThinkGeo.MapSuite.SilverlightCore.PointShape|PointShape]] * Description:N/A == Parameters == * //screenCoordinate// * Type:[[ThinkGeo.MapSuite.SilverlightCore.PointShape|PointShape]] * Description:N/A
** {{wiki:PublicMethod.gif|}} ToWorldCoordinate(Point) ** * //N/A// == Remarks == * //N/A// == Return Value == * Type:[[ThinkGeo.MapSuite.SilverlightCore.PointShape|PointShape]] * Description:N/A == Parameters == * //screenCoordinate// * Type:Point * Description:N/A
** {{wiki:PublicMethod.gif|}} ToScreenCoordinate(Double,Double) ** * //N/A// == Remarks == * //N/A// == Return Value == * Type:[[ThinkGeo.MapSuite.SilverlightCore.PointShape|PointShape]] * Description:N/A == Parameters == * //worldX// * Type:Double * Description:N/A * //worldY// * Type:Double * Description:N/A
** {{wiki:PublicMethod.gif|}} ToScreenCoordinate(PointShape) ** * //N/A// == Remarks == * //N/A// == Return Value == * Type:[[ThinkGeo.MapSuite.SilverlightCore.PointShape|PointShape]] * Description:N/A == Parameters == * //worldCoordinate// * Type:[[ThinkGeo.MapSuite.SilverlightCore.PointShape|PointShape]] * Description:N/A
** {{wiki:PublicMethod.gif|}} ToScreenCoordinate(Point) ** * //N/A// == Remarks == * //N/A// == Return Value == * Type:[[ThinkGeo.MapSuite.SilverlightCore.PointShape|PointShape]] * Description:N/A == Parameters == * //worldCoordinate// * Type:Point * Description:N/A
** {{wiki:PublicMethod.gif|}} ToString() ** * //N/A// == Remarks == * //N/A// == Return Value == * Type:String * Description:N/A == Parameters ==
** {{wiki:PublicMethod.gif|}} Equals(Object) ** * //N/A// == Remarks == * //N/A// == Return Value == * Type:Boolean * Description:N/A == Parameters == * //obj// * Type:Object * Description:N/A
** {{wiki:PublicMethod.gif|}} GetHashCode() ** * //N/A// == Remarks == * //N/A// == Return Value == * Type:Int32 * Description:N/A == Parameters ==
** {{wiki:PublicMethod.gif|}} GetType() ** * //N/A// == Remarks == * //N/A// == Return Value == * Type:Type * Description:N/A == Parameters ==
==== Protected Methods ==== ** {{wiki:ProtectedMethod.gif|}} InitializeCore() ** * //This method initializes the properties of the overlay canvas such as width, height and z-index for first time.// == Remarks == * //This method initializes the properties of the overlay canvas such as width, height and z-index for first time.// == Return Value == * Type:Void * Description:N/A == Parameters ==
** {{wiki:ProtectedMethod.gif|}} DrawCore(RectangleShape) ** * //This method draws the features in the specified extent.// == Remarks == * //This method draws the features in the specified extent.// == Return Value == * Type:Void * Description:N/A == Parameters == * //worldExtent// * Type:[[ThinkGeo.MapSuite.SilverlightCore.RectangleShape|RectangleShape]] * Description:The new world extent of the map.
** {{wiki:ProtectedMethod.gif|}} DxU=(GeoCanvas) ** * //N/A// == Remarks == * //N/A// == Return Value == * Type:Void * Description:N/A == Parameters == * //canvas// * Type:[[ThinkGeo.MapSuite.SilverlightCore.GeoCanvas|GeoCanvas]] * Description:N/A
** {{wiki:ProtectedMethod.gif|}} DrawAttributionCore(GeoCanvas) ** * //N/A// == Remarks == * //N/A// == Return Value == * Type:Void * Description:N/A == Parameters == * //canvas// * Type:[[ThinkGeo.MapSuite.SilverlightCore.GeoCanvas|GeoCanvas]] * Description:N/A
** {{wiki:ProtectedMethod.gif|}} OnDrawingAttribution(DrawingAttributionOverlayEventArgs) ** * //N/A// == Remarks == * //N/A// == Return Value == * Type:Void * Description:N/A == Parameters == * //args// * Type:[[ThinkGeo.MapSuite.SilverlightEdition.DrawingAttributionOverlayEventArgs|DrawingAttributionOverlayEventArgs]] * Description:N/A
** {{wiki:ProtectedMethod.gif|}} OnDrawnAttribution(DrawnAttributionOverlayEventArgs) ** * //N/A// == Remarks == * //N/A// == Return Value == * Type:Void * Description:N/A == Parameters == * //args// * Type:[[ThinkGeo.MapSuite.SilverlightEdition.DrawnAttributionOverlayEventArgs|DrawnAttributionOverlayEventArgs]] * Description:N/A
** {{wiki:ProtectedMethod.gif|}} ZoomStoryCompletedCore() ** * //N/A// == Remarks == * //N/A// == Return Value == * Type:Void * Description:N/A == Parameters ==
** {{wiki:ProtectedMethod.gif|}} PanAnimationCompletedCore() ** * //N/A// == Remarks == * //N/A// == Return Value == * Type:Void * Description:N/A == Parameters ==
** {{wiki:ProtectedMethod.gif|}} Finalize() ** * //N/A// == Remarks == * //N/A// == Return Value == * Type:Void * Description:N/A == Parameters ==
** {{wiki:ProtectedMethod.gif|}} MemberwiseClone() ** * //N/A// == Remarks == * //N/A// == Return Value == * Type:Object * Description:N/A == Parameters ==
==== Public Properties ==== ** {{wiki:PublicProperty.gif|}} Layers ** Gets a GeoCollection that contains the layers that will draw on the image that is sent to the browser. == Remarks == The Layers property holds all of the layers that are used by the Draw method. The Draw method loops through all layers to filter out features and draw with specified styles to the image that will be sent to the browser. == Return Value == * Type:[[ThinkGeo.MapSuite.SilverlightCore.GeoCollection[[ThinkGeo.MapSuite.SilverlightCore.Layer, SilverlightMapSuiteCore, Version=9.0.0.0, Culture=neutral, PublicKeyToken=null]]|GeoCollection]] ** {{wiki:PublicProperty.gif|}} DrawMode ** The DrawMode property specity the mode to render the map. == Remarks == DrawMode.WritableBitmap is more responsive. DrawMode.Shape draws faster. == Return Value == * Type:[[ThinkGeo.MapSuite.SilverlightEdition.DrawMode|DrawMode]] ** {{wiki:PublicProperty.gif|}} Visibility ** N/A == Remarks == N/A == Return Value == * Type:Visibility ** {{wiki:PublicProperty.gif|}} OverlayElement ** N/A == Remarks == N/A == Return Value == * Type:FrameworkElement ** {{wiki:PublicProperty.gif|}} Name ** N/A == Remarks == N/A == Return Value == * Type:String ** {{wiki:PublicProperty.gif|}} Attribution ** N/A == Remarks == N/A == Return Value == * Type:String ** {{wiki:PublicProperty.gif|}} TransitionEffect ** N/A == Remarks == N/A == Return Value == * Type:[[ThinkGeo.MapSuite.SilverlightEdition.TransitionEffect|TransitionEffect]] ** {{wiki:PublicProperty.gif|}} Opacity ** N/A == Remarks == N/A == Return Value == * Type:Double ** {{wiki:PublicProperty.gif|}} ZIndex ** N/A == Remarks == N/A == Return Value == * Type:Int32 ** {{wiki:PublicProperty.gif|}} StoryboardForZooming ** N/A == Remarks == N/A == Return Value == * Type:Storyboard ** {{wiki:PublicProperty.gif|}} StoryboardForPanning ** N/A == Remarks == N/A == Return Value == * Type:Storyboard ** {{wiki:PublicProperty.gif|}} PanFrameX ** N/A == Remarks == N/A == Return Value == * Type:SplineDoubleKeyFrame ** {{wiki:PublicProperty.gif|}} PanFrameY ** N/A == Remarks == N/A == Return Value == * Type:SplineDoubleKeyFrame ** {{wiki:PublicProperty.gif|}} ZoomFrameX ** N/A == Remarks == N/A == Return Value == * Type:SplineDoubleKeyFrame ** {{wiki:PublicProperty.gif|}} ZoomFrameY ** N/A == Remarks == N/A == Return Value == * Type:SplineDoubleKeyFrame ==== Protected Properties ==== ** {{wiki:ProtectedProperty.gif|}} MapInfo ** N/A == Remarks == N/A == Return Value == * Type:[[ThinkGeo.MapSuite.SilverlightEdition.Map|Map]] ** {{wiki:ProtectedProperty.gif|}} TranslateTransform ** N/A == Remarks == N/A == Return Value == * Type:TranslateTransform ** {{wiki:ProtectedProperty.gif|}} ScaleTransform ** N/A == Remarks == N/A == Return Value == * Type:ScaleTransform ** {{wiki:ProtectedProperty.gif|}} TransformGroup ** N/A == Remarks == N/A == Return Value == * Type:TransformGroup ==== Public Events ==== ** {{wiki:PublicEvent.gif|}} DrawingAttribution ** N/A == Remarks == N/A Event Arguments:[[ThinkGeo.MapSuite.SilverlightEdition.DrawingAttributionOverlayEventArgs|DrawingAttributionOverlayEventArgs]] ** {{wiki:PublicEvent.gif|}} DrawnAttribution ** N/A == Remarks == N/A Event Arguments:[[ThinkGeo.MapSuite.SilverlightEdition.DrawnAttributionOverlayEventArgs|DrawnAttributionOverlayEventArgs]]