====== ThinkGeo.MapSuite.WebEdition.FeatureSourceMarkerOverlay ====== {{section>upgrade_map_suite_to_10.0}} Represents a MarkerOverlay that dynamically creates markers from the feature source specified. ===== Inheritance Hierarchy ===== *System.Object *ThinkGeo.MapSuite.WebEdition.Overlay *ThinkGeo.MapSuite.WebEdition.MarkerOverlay ***ThinkGeo.MapSuite.WebEdition.FeatureSourceMarkerOverlay** ===== Members Summary ===== ==== Public Constructors ==== ** {{wiki:PublicMethod.gif|}} FeatureSourceMarkerOverlay() ** * //Initialize an instance of the FeatureMarkerOverlay class.// == Remarks == * //For the most updated Info for this topic, please check it here:http:wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WebEdition.FeatureSourceMarkerOverlay#FeatureSourceMarkerOverlay.28.29// == Parameters ==
** {{wiki:PublicMethod.gif|}} FeatureSourceMarkerOverlay(String) ** * //Initialize an instance of the FeatureMarkerOverlay class.// == Remarks == * //For the most updated Info for this topic, please check it here:http:wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WebEdition.FeatureSourceMarkerOverlay#FeatureSourceMarkerOverlay.28String.29// == Parameters == * //id// * Type:String * Description:The identifier string used for retrieving the overlay.
** {{wiki:PublicMethod.gif|}} FeatureSourceMarkerOverlay(String,FeatureSource) ** * //Initialize an instance of the FeatureMarkerOverlay class.// == Remarks == * //For the most updated Info for this topic, please check it here:http:wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WebEdition.FeatureSourceMarkerOverlay#FeatureSourceMarkerOverlay.28String.2C_FeatureSource.29// == Parameters == * //id// * Type:String * Description:The identifier string used for retrieving the overlay. * //featureSource// * Type:[[ThinkGeo.MapSuite.Core.FeatureSource|FeatureSource]] * Description:The feature source object that provides the features from which the markers are created.
==== Protected Constructors ==== ==== Public Methods ==== ** {{wiki:PublicMethod.gif|}} GetMarkers(RectangleShape,Int32) ** * //Returns a collection of markers based on the extent and zoomlevel that you passed in.// == Remarks == * //The GetMarkers 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.WebEdition.Marker|Marker]]> * Description:A collection of marker objects that will be serialized to the client. == Parameters == * //worldExtent// * Type:[[ThinkGeo.MapSuite.Core.RectangleShape|RectangleShape]] * Description:The extent that includes all of the markers you want to serialize. * //currentZoomLevelId// * Type:Int32 * Description:An int value that indicates which zoomlevel the map is currently at.
** {{wiki:PublicMethod.gif|}} ToJson() ** * //Returns a JSON string which contains the information for creating an overlay at the client side.// == Remarks == * //For the most updated Info for this topic, please check it here:http:wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WebEdition.FeatureSourceMarkerOverlay#ToJson.28.29// == Return Value == * Type:String * Description:A JSON string which is used to create an overlay at the client side. == Parameters ==
** {{wiki:PublicMethod.gif|}} ToString() ** * //N/A// == Remarks == * //For the most updated Info for this topic, please check it here:http:wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WebEdition.FeatureSourceMarkerOverlay#ToString.28.29// == Return Value == * Type:String * Description:N/A == Parameters ==
** {{wiki:PublicMethod.gif|}} Equals(Object) ** * //N/A// == Remarks == * //For the most updated Info for this topic, please check it here:http:wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WebEdition.FeatureSourceMarkerOverlay#Equals.28Object.29// == Return Value == * Type:Boolean * Description:N/A == Parameters == * //obj// * Type:Object * Description:N/A
** {{wiki:PublicMethod.gif|}} GetHashCode() ** * //N/A// == Remarks == * //For the most updated Info for this topic, please check it here:http:wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WebEdition.FeatureSourceMarkerOverlay#GetHashCode.28.29// == Return Value == * Type:Int32 * Description:N/A == Parameters ==
** {{wiki:PublicMethod.gif|}} GetType() ** * //N/A// == Remarks == * //For the most updated Info for this topic, please check it here:http:wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WebEdition.FeatureSourceMarkerOverlay#GetType.28.29// == Return Value == * Type:Type * Description:N/A == Parameters ==
==== Protected Methods ==== ** {{wiki:ProtectedMethod.gif|}} GetMarkersCore(RectangleShape,Int32) ** * //Returns a collection of markers based on the extent and zoomlevel that you passed in.// == Remarks == * //For the most updated Info for this topic, please check it here:http:wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WebEdition.FeatureSourceMarkerOverlay#GetMarkersCore.28RectangleShape.2C_Int32.29// == Return Value == * Type:Collection<[[ThinkGeo.MapSuite.WebEdition.Marker|Marker]]> * Description:A collection of marker objects that will be serialized to the client. == Parameters == * //worldExtent// * Type:[[ThinkGeo.MapSuite.Core.RectangleShape|RectangleShape]] * Description:The extent that includes the markers you want to serialize. * //currentZoomLevelId// * Type:Int32 * Description:An int value that indicates which zoomlevel the map is currently at.
** {{wiki:ProtectedMethod.gif|}} 5hM=() ** * //N/A// == Remarks == * //N/A// == Return Value == * Type:Void * Description:N/A == Parameters ==
** {{wiki:ProtectedMethod.gif|}} 5xM=(Object) ** * //N/A// == Remarks == * //N/A// == Return Value == * Type:Void * Description:N/A == Parameters == * //target// * Type:Object * Description:N/A
** {{wiki:ProtectedMethod.gif|}} 4xM=(String,String) ** * //N/A// == Remarks == * //N/A// == Return Value == * Type:Void * Description:N/A == Parameters == * //overlayId// * Type:String * Description:N/A * //featureId// * Type:String * Description:N/A
** {{wiki:ProtectedMethod.gif|}} OnClick(MarkerOverlayClickEventArgs) ** * //Raises the Click event of the MarkerOverlay object.// == Remarks == * //The OnClick method also allows derived classes to handle the event without attaching a delegate. This is the preferred technique for handling the event in a derived class. Notes to Inheritors: When overriding OnClick in a derived class, be sure to call the base class's OnClick method so that registered delegates receive the event.// == Return Value == * Type:Void * Description:N/A == Parameters == * //e// * Type:[[ThinkGeo.MapSuite.WebEdition.MarkerOverlayClickEventArgs|MarkerOverlayClickEventArgs]] * Description:The MarkerOverlayClickEventArgs that contains event data.
** {{wiki:ProtectedMethod.gif|}} 5BM=() ** * //N/A// == Remarks == * //N/A// == Return Value == * Type:Void * Description:N/A == Parameters ==
** {{wiki:ProtectedMethod.gif|}} 5RM=(Object) ** * //N/A// == Remarks == * //N/A// == Return Value == * Type:Void * Description:N/A == Parameters == * //target// * Type:Object * Description:N/A
** {{wiki:ProtectedMethod.gif|}} 3xM=(Page) ** * //N/A// == Remarks == * //N/A// == Return Value == * Type:Void * Description:N/A == Parameters == * //page// * Type:Page * Description:N/A
** {{wiki:ProtectedMethod.gif|}} RegisterJavaScriptLibraryCore(Page) ** * //Registers a Javascript library URL string to the client HTML page.// == Remarks == * //The RegisterJavaScriptLibraryCore method allows derived classes to override and register their own Javascript library URL to the HTML page.// == Return Value == * Type:Void * Description:N/A == Parameters == * //page// * Type:Page * Description:The page object that is used for registering the javascript library.
** {{wiki:ProtectedMethod.gif|}} RaiseTickEvent(EventArgs) ** * //N/A// == Remarks == * //N/A// == Return Value == * Type:Void * Description:N/A == Parameters == * //e// * Type:EventArgs * Description:N/A
** {{wiki:ProtectedMethod.gif|}} OnTick(EventArgs) ** * //Raises the Tick event of the MarkerOverlay.// == Remarks == * //For the most updated Info for this topic, please check it here:http:wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WebEdition.FeatureSourceMarkerOverlay#OnTick.28EventArgs.29// == Return Value == * Type:Void * Description:N/A == Parameters == * //e// * Type:EventArgs * Description:An System.EventArgs object that contains the event data.
** {{wiki:ProtectedMethod.gif|}} Finalize() ** * //N/A// == Remarks == * //For the most updated Info for this topic, please check it here:http:wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WebEdition.FeatureSourceMarkerOverlay#Finalize.28.29// == Return Value == * Type:Void * Description:N/A == Parameters ==
** {{wiki:ProtectedMethod.gif|}} MemberwiseClone() ** * //N/A// == Remarks == * //For the most updated Info for this topic, please check it here:http:wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WebEdition.FeatureSourceMarkerOverlay#MemberwiseClone.28.29// == Return Value == * Type:Object * Description:N/A == Parameters ==
==== Public Properties ==== ** {{wiki:PublicProperty.gif|}} FeatureSource ** Gets or sets a feature source object that provides the features from which the markers are created. == Remarks == For the most updated Info for this topic, please check it here:http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WebEdition.FeatureSourceMarkerOverlay#firstHeading" class="firstHeading" lang="en">