====== ThinkGeo.MapSuite.SilverlightEdition.MarkerOverlay ====== {{section>upgrade_map_suite_to_10.0}} This is a base class for the overlay that generates and manages markers. ===== Inheritance Hierarchy ===== *System.Object *ThinkGeo.MapSuite.SilverlightEdition.Overlay ***ThinkGeo.MapSuite.SilverlightEdition.MarkerOverlay** *[[ThinkGeo.MapSuite.SilverlightEdition.InMemoryMarkerOverlay]] *[[ThinkGeo.MapSuite.SilverlightEdition.SimpleMarkerOverlay]] ===== Members Summary ===== ==== Public Constructors ==== ==== Protected Constructors ==== ** {{wiki:ProtectedMethod.gif|}} MarkerOverlay() ** This is constructor of MarkerOverlay class. == Remarks == This is constructor of MarkerOverlay class. == Parameters ==
** {{wiki:ProtectedMethod.gif|}} MarkerOverlay(String) ** This is constructor of MarkerOverlay class. == Remarks == This is constructor of MarkerOverlay class. == Parameters == * //name// * Type:String * Description:The identifier string of the MarkerOverlay. ==== Public Methods ==== ** {{wiki:PublicMethod.gif|}} GetDrawingMarkers(RectangleShape) ** This method returns a collection of markers based on the extent that passed in. == Remarks == The GetDrawingMarkersCore method creates the makrers based on the current zoomlevel, the specified extent and the special logic of the MarkerOverlay. The returned markers object will be serialized and sent to the client to create client markers. == Return Value == * Type:Collection<[[ThinkGeo.MapSuite.SilverlightEdition.Marker|Marker]]> * Description:A collection of Marker objects that will be serialized to the client. == Parameters == * //worldExtent// * Type:[[ThinkGeo.MapSuite.SilverlightCore.RectangleShape|RectangleShape]] * Description:The extent that include the markers. ** {{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|}} GetDrawingMarkersCore(RectangleShape) ** This method returns a collection of markers based on the extent that passed in. == Remarks == This method returns a collection of markers based on the extent and zoomlevel that passed in. == Return Value == * Type:Collection<[[ThinkGeo.MapSuite.SilverlightEdition.Marker|Marker]]> * Description:A collection of Marker objects that will be serialized to the client. == Parameters == * //worldExtent// * Type:[[ThinkGeo.MapSuite.SilverlightCore.RectangleShape|RectangleShape]] * Description:The extent that include the markers. ** {{wiki:ProtectedMethod.gif|}} InitializeCore() ** This method initializes the overlay canvas such as width, height and z-index for first time. == Remarks == This method initializes 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 world extent that specified to move marker overlay to. ** {{wiki:ProtectedMethod.gif|}} OnMouseEnter(MouseEnterMarkerOverlayEventArgs) ** This method raised when the mouse enter a marker of the overlay. == Remarks == This method raised when the mouse enter a marker of the overlay. == Return Value == * Type:Void * Description:N/A == Parameters == * //e// * Type:[[ThinkGeo.MapSuite.SilverlightEdition.MouseEnterMarkerOverlayEventArgs|MouseEnterMarkerOverlayEventArgs]] * Description:An event argument indicating the mouse position on the map. ** {{wiki:ProtectedMethod.gif|}} OnMouseLeave(MouseLeaveMarkerOverlayEventArgs) ** This method raises when the mouse leave a marker of the overlay. == Remarks == This method raises when the mouse leave a marker of the overlay. == Return Value == * Type:Void * Description:N/A == Parameters == * //e// * Type:[[ThinkGeo.MapSuite.SilverlightEdition.MouseLeaveMarkerOverlayEventArgs|MouseLeaveMarkerOverlayEventArgs]] * Description:An event argument indicating the mouse position on the map. ** {{wiki:ProtectedMethod.gif|}} OnMouseLeftButtonDown(MouseLeftButtonDownMarkerOverlayEventArgs) ** This method raises when the mouse down on a marker of the overlay. == Remarks == This method raises when the mouse down on a marker of the overlay. == Return Value == * Type:Void * Description:N/A == Parameters == * //e// * Type:[[ThinkGeo.MapSuite.SilverlightEdition.MouseLeftButtonDownMarkerOverlayEventArgs|MouseLeftButtonDownMarkerOverlayEventArgs]] * Description:An event argument indicating the mouse position on the map. ** {{wiki:ProtectedMethod.gif|}} OnMouseLeftButtonUp(MouseLeftButtonUpMarkerOverlayEventArgs) ** This method raises when the mouse up a marker of the overlay. == Remarks == This method raises when the mouse up a marker of the overlay. == Return Value == * Type:Void * Description:N/A == Parameters == * //e// * Type:[[ThinkGeo.MapSuite.SilverlightEdition.MouseLeftButtonUpMarkerOverlayEventArgs|MouseLeftButtonUpMarkerOverlayEventArgs]] * Description:An event argument indicating the mouse position on the map. ** {{wiki:ProtectedMethod.gif|}} GxU=(Marker) ** N/A == Remarks == N/A == Return Value == * Type:Void * Description:N/A == Parameters == * //marker// * Type:[[ThinkGeo.MapSuite.SilverlightEdition.Marker|Marker]] * Description:N/A ** {{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|}} 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|}} MouseEnter ** This event raises when the mouse enter a marker of the overlay. == Remarks == This event raises when the mouse enter a marker of the overlay. Event Arguments:[[ThinkGeo.MapSuite.SilverlightEdition.MouseEnterMarkerOverlayEventArgs|MouseEnterMarkerOverlayEventArgs]] ** {{wiki:PublicEvent.gif|}} MouseLeave ** This event raises when the mouse leave a marker of the overlay. == Remarks == This event raises when the mouse leave a marker of the overlay. Event Arguments:[[ThinkGeo.MapSuite.SilverlightEdition.MouseLeaveMarkerOverlayEventArgs|MouseLeaveMarkerOverlayEventArgs]] ** {{wiki:PublicEvent.gif|}} MouseLeftButtonDown ** This event raises when the mouse left button click down on a marker of the overlay. == Remarks == This event raises when the mouse left button click down on a marker of the overlay. Event Arguments:[[ThinkGeo.MapSuite.SilverlightEdition.MouseLeftButtonDownMarkerOverlayEventArgs|MouseLeftButtonDownMarkerOverlayEventArgs]] ** {{wiki:PublicEvent.gif|}} MouseLeftButtonUp ** This event raises when the mouse left button click down on a marker of the overlay. == Remarks == This event raises when the mouse left button click down on a marker of the overlay. Event Arguments:[[ThinkGeo.MapSuite.SilverlightEdition.MouseLeftButtonUpMarkerOverlayEventArgs|MouseLeftButtonUpMarkerOverlayEventArgs]] ** {{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]]