====== ThinkGeo.MapSuite.MvcEdition.MarkerOverlay ====== {{section>upgrade_map_suite_to_10.0}} Serves as the base class for the overlay that generates and manages markers. ===== Inheritance Hierarchy ===== *System.Object *ThinkGeo.MapSuite.MvcEdition.Overlay ***ThinkGeo.MapSuite.MvcEdition.MarkerOverlay** *[[ThinkGeo.MapSuite.MvcEdition.FeatureSourceMarkerOverlay]] *[[ThinkGeo.MapSuite.MvcEdition.InMemoryMarkerOverlay]] *[[ThinkGeo.MapSuite.MvcEdition.SimpleMarkerOverlay]] ===== Members Summary ===== ==== Public Constructors ==== ==== Protected Constructors ==== ** {{wiki:ProtectedMethod.gif|}} MarkerOverlay() ** * //Initialize a new instance of the MarkerOverlay class.// == Remarks == * //N/A// == Parameters ==
** {{wiki:ProtectedMethod.gif|}} MarkerOverlay(String) ** * //Initialize a new instance of the MarkerOverlay class using the identifier specified.// == Remarks == * //N/A// == Parameters == * //id// * Type:String * Description:The identifier string of the MarkerOverlay.
==== Public Methods ==== ** {{wiki:PublicMethod.gif|}} DataBindTo(String,String) ** * //N/A// == Remarks == * //N/A// == Return Value == * Type:Void * Description:N/A == Parameters == * //controllerName// * Type:String * Description:N/A * //actionName// * Type:String * Description:N/A
** {{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.MvcEdition.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() ** * //N/A// == Remarks == * //N/A// == Return Value == * Type:String * Description:N/A == Parameters ==
** {{wiki:PublicMethod.gif|}} FromJson(String) ** * //N/A// == Remarks == * //N/A// == Return Value == * Type:Void * Description:N/A == Parameters == * //jsonString// * Type:String * 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|}} GetMarkersCore(RectangleShape,Int32) ** * //Returns a collection of markers based on the extent and zoomlevel that you passed in.// == Remarks == * //The GetMarkersCore method allows derived classes to rewrite the logic used for dynamically creating the markers that will be serialized to the client.// == Return Value == * Type:Collection<[[ThinkGeo.MapSuite.MvcEdition.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:ProtectedMethod.gif|}} EhQ=(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) ** * //N/A// == Remarks == * //N/A// == Return Value == * Type:Void * Description:N/A == Parameters == * //page// * Type:Page * Description:N/A
** {{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|}} IsBaseOverlay ** Gets or sets a value that indicates whether the overlay is a base overlay. == Remarks == The MarkerOverlay can only be a non-base overlay. If you set the IsBaseOverlay property to true, there will be an exception thrown. == Return Value == * Type:Boolean ** {{wiki:PublicProperty.gif|}} OnClientClick ** Gets or sets a client function name which will be executed after clicking on the MarkerOverlay == Remarks == There is a default parameter:e, which includes two parameters: "worldXY", "overlayId" == Return Value == * Type:String ** {{wiki:PublicProperty.gif|}} OnClientMarkersRequesting ** N/A == Remarks == N/A == Return Value == * Type:String ** {{wiki:PublicProperty.gif|}} OnClientMarkersRequested ** N/A == Remarks == N/A == Return Value == * Type:String ** {{wiki:PublicProperty.gif|}} ActionTriggers ** N/A == Remarks == N/A == Return Value == * Type:Collection<[[ThinkGeo.MapSuite.MvcEdition.ActionTrigger|ActionTrigger]]> ** {{wiki:PublicProperty.gif|}} IsVisible ** N/A == Remarks == N/A == Return Value == * Type:Boolean ** {{wiki:PublicProperty.gif|}} Name ** N/A == Remarks == N/A == Return Value == * Type:String ** {{wiki:PublicProperty.gif|}} Opacity ** N/A == Remarks == N/A == Return Value == * Type:Single ** {{wiki:PublicProperty.gif|}} IsVisibleInOverlaySwitcher ** N/A == Remarks == N/A == Return Value == * Type:Boolean ** {{wiki:PublicProperty.gif|}} Id ** N/A == Remarks == N/A == Return Value == * Type:String ** {{wiki:PublicProperty.gif|}} OnClientAutoRefreshTick ** N/A == Remarks == N/A == Return Value == * Type:String ** {{wiki:PublicProperty.gif|}} AutoRefreshInterval ** N/A == Remarks == N/A == Return Value == * Type:TimeSpan ** {{wiki:PublicProperty.gif|}} Attribution ** N/A == Remarks == N/A == Return Value == * Type:String ==== Protected Properties ==== ** {{wiki:ProtectedProperty.gif|}} OverlayType ** Gets a string that indicates the overlay type. == Remarks == N/A == Return Value == * Type:String ** {{wiki:ProtectedProperty.gif|}} IsDefault ** Gets or sets whether using default configuration. == Remarks == N/A == Return Value == * Type:Boolean ** {{wiki:ProtectedProperty.gif|}} TRU= ** N/A == Remarks == N/A == Return Value == * Type:[[ThinkGeo.MapSuite.MvcEdition.ActionBinding|ActionBinding]] ** {{wiki:ProtectedProperty.gif|}} ERQ= ** N/A == Remarks == N/A == Return Value == * Type:Double ==== Public Events ====