====== ThinkGeo.MapSuite.WebEdition.InMemoryMarkerOverlay ====== {{section>upgrade_map_suite_to_10.0}} Represents a MarkerOverlay object that dynamically creates markers from the InMemory features. ===== Inheritance Hierarchy ===== *System.Object *ThinkGeo.MapSuite.WebEdition.Overlay *ThinkGeo.MapSuite.WebEdition.MarkerOverlay ***ThinkGeo.MapSuite.WebEdition.InMemoryMarkerOverlay** ===== Members Summary ===== ==== Public Constructors ==== ** {{wiki:PublicMethod.gif|}} InMemoryMarkerOverlay() ** * //Initialize an instance of the InMemoryMarkerOverlay class.// == Remarks == * //For the most updated Info for this topic, please check it here:http:wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WebEdition.InMemoryMarkerOverlay#InMemoryMarkerOverlay.28.29// == Parameters ==
** {{wiki:PublicMethod.gif|}} InMemoryMarkerOverlay(String) ** * //Initialize an instance of the InMemoryMarkerOverlay class.// == Remarks == * //For the most updated Info for this topic, please check it here:http:wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WebEdition.InMemoryMarkerOverlay#InMemoryMarkerOverlay.28String.29// == Parameters == * //id// * Type:String * Description:The identifier of the overlay, which is used for retrieving the overlay.
** {{wiki:PublicMethod.gif|}} InMemoryMarkerOverlay(String,IEnumerable) ** * //Initialize an instance of the InMemoryMarkerOverlay class.// == Remarks == * //For the most updated Info for this topic, please check it here:// == Parameters == * //id// * Type:String * Description:The identifier of the overlay, which is used for retrieving the overlay. * //featureColumnNames// * Type:IEnumerable * Description:The column names that are associated with the features in the overlay.
** {{wiki:PublicMethod.gif|}} InMemoryMarkerOverlay(String,IEnumerable) ** * //Initialize an instance of the InMemoryMarkerOverlay class.// == Remarks == * //For the most updated Info for this topic, please check it here:// == Parameters == * //id// * Type:String * Description:The identifier of the overlay, which is used for retrieving the overlay. * //featureColumns// * Type:IEnumerable<[[ThinkGeo.MapSuite.Core.FeatureSourceColumn|FeatureSourceColumn]]> * Description:The column names that are associated with the features in the overlay.
==== 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.InMemoryMarkerOverlay#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.InMemoryMarkerOverlay#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.InMemoryMarkerOverlay#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.InMemoryMarkerOverlay#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.InMemoryMarkerOverlay#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.InMemoryMarkerOverlay#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 all of the markers that 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.InMemoryMarkerOverlay#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.InMemoryMarkerOverlay#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.InMemoryMarkerOverlay#MemberwiseClone.28.29// == Return Value == * Type:Object * Description:N/A == Parameters ==
==== Public Properties ==== ** {{wiki:PublicProperty.gif|}} Columns ** Gets the collection of FeatureSourceColumns that is the column definition of the feature data. == Remarks == For the most updated Info for this topic, please check it here:http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WebEdition.InMemoryMarkerOverlay#Columns == Return Value == * Type:Collection<[[ThinkGeo.MapSuite.Core.FeatureSourceColumn|FeatureSourceColumn]]> ** {{wiki:PublicProperty.gif|}} SuppressingGridSize ** Gets or sets the grid size in screen coordinate to suppress markers in current Viewport. == Remarks == Current ViewPort will be split into several cells by FilterGridSize, one cell will contains only one marker in it, in another word, markers which are near too close will be removed. if the value is greater than 0, this function will be enabled. == Return Value == * Type:Int32 ** {{wiki:PublicProperty.gif|}} FeatureSource ** Gets a FeatureSource object by which you can perform queries on the features in the overlay. == Remarks == For the most updated Info for this topic, please check it here:http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WebEdition.InMemoryMarkerOverlay#InMemoryMarkerOverlay.28String.2C_IEnumerable.3CFeatureSourceColumn.3E.29 == Return Value == * Type:[[ThinkGeo.MapSuite.Core.InMemoryFeatureSource|InMemoryFeatureSource]] ** {{wiki:PublicProperty.gif|}} ZoomLevelSet ** Gets the ZoomLevelSet object that controls the markers' generation. == Remarks == For the most updated Info for this topic, please check it here:http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WebEdition.InMemoryMarkerOverlay#ZoomLevelSet == Return Value == * Type:[[ThinkGeo.MapSuite.WebEdition.MarkerZoomLevelSet|MarkerZoomLevelSet]] ** {{wiki:PublicProperty.gif|}} IsBaseOverlay ** N/A == Remarks == For the most updated Info for this topic, please check it here:http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WebEdition.InMemoryMarkerOverlay#IsBaseOverlay == Return Value == * Type:Boolean ** {{wiki:PublicProperty.gif|}} IsVisible ** Gets or sets a value that indicates whether the overlay is visible on the map. == Remarks == For the most updated Info for this topic, please check it here:http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WebEdition.InMemoryMarkerOverlay#IsVisible == Return Value == * Type:Boolean ** {{wiki:PublicProperty.gif|}} Name ** Gets or sets the name of the overlay, which will display in the OverlaySwitcher. == Remarks == For the most updated Info for this topic, please check it here:http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WebEdition.InMemoryMarkerOverlay#Name == Return Value == * Type:String ** {{wiki:PublicProperty.gif|}} Opacity ** Gets or sets the opacity level of the overlay. == Remarks == The Opacity property enables you to specify a level of transparency for the overlay. When this property is set to a value less than 100 percent (1.00), the entire overlay is made more transparent. The lower the value, the more transparent it is. Setting this property to a value of 0 percent (0.00) makes the overlay completely invisible. == Return Value == * Type:Single ** {{wiki:PublicProperty.gif|}} IsVisibleInOverlaySwitcher ** Gets or sets a value that indicates whether the overlay name is displayed in the OverlaySwitcher. == Remarks == For the most updated Info for this topic, please check it here:http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WebEdition.InMemoryMarkerOverlay#IsVisibleInOverlaySwitcher == Return Value == * Type:Boolean ** {{wiki:PublicProperty.gif|}} Id ** Gets the identifier for the overlay to be found. == Remarks == For the most updated Info for this topic, please check it here:http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WebEdition.InMemoryMarkerOverlay#Id == Return Value == * Type:String ** {{wiki:PublicProperty.gif|}} AutoRefreshInterval ** Gets or sets the time interval in which the MarkerOverlay refreshes itself. == Remarks == For the most updated Info for this topic, please check it here:http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WebEdition.InMemoryMarkerOverlay#AutoRefreshInterval == Return Value == * Type:TimeSpan ** {{wiki:PublicProperty.gif|}} Attribution ** N/A == Remarks == For the most updated Info for this topic, please check it here:http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WebEdition.InMemoryMarkerOverlay#Attribution == Return Value == * Type:String ==== Protected Properties ==== ** {{wiki:ProtectedProperty.gif|}} OverlayType ** N/A == Remarks == For the most updated Info for this topic, please check it here:http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WebEdition.InMemoryMarkerOverlay#OverlayType == Return Value == * Type:String ** {{wiki:ProtectedProperty.gif|}} HasClickEvent ** N/A == Remarks == N/A == Return Value == * Type:Boolean ** {{wiki:ProtectedProperty.gif|}} IsDefault ** N/A == Remarks == N/A == Return Value == * Type:Boolean ** {{wiki:ProtectedProperty.gif|}} HasTickEvent ** Indicates whether the overlay supports tick event. == Remarks == For the most updated Info for this topic, please check it here:http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WebEdition.InMemoryMarkerOverlay#HasTickEvent == Return Value == * Type:Boolean ** {{wiki:ProtectedProperty.gif|}} 3hM= ** N/A == Remarks == N/A == Return Value == * Type:Double ==== Public Events ==== ** {{wiki:PublicEvent.gif|}} Click ** Occurs when a marker in the overlay is clicked. == Remarks == For the most updated Info for this topic, please check it here:http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WebEdition.InMemoryMarkerOverlay#OnClick.28MarkerOverlayClickEventArgs.29 Event Arguments:[[ThinkGeo.MapSuite.WebEdition.MarkerOverlayClickEventArgs|MarkerOverlayClickEventArgs]] ** {{wiki:PublicEvent.gif|}} Tick ** Occurs when the number of milliseconds specified in the AutoRefreshInterval property has elapsed and the page is posted to the server. == Remarks == For the most updated Info for this topic, please check it here:http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WebEdition.InMemoryMarkerOverlay#OnTick.28EventArgs.29 Event Arguments:EventArgs