User Tools

Site Tools


thinkgeo.mapsuite.mvcedition.markeroverlay

ThinkGeo.MapSuite.MvcEdition.MarkerOverlay

Note: The page was created before Map Suite 10. Map Suite 10.0 organized many classes into new namespaces and assemblies as well as had a few minor breaks in compatibility. The majority of previously built code should work without modification assuming the new namespaces are added. For guidance on upgrading your existing code, please check out MapSuite 10 Upgrade Guide.

Serves as the base class for the overlay that generates and manages markers.

Inheritance Hierarchy

Members Summary

Public Constructors

Protected Constructors

MarkerOverlay()

  • Initialize a new instance of the MarkerOverlay class.
Remarks
  • N/A
Parameters

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

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

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<Marker>
  • Description:A collection of marker objects that will be serialized to the client.
Parameters
  • worldExtent
    • 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.

ToJson()

  • N/A
Remarks
  • N/A
Return Value
  • Type:String
  • Description:N/A
Parameters

FromJson(String)

  • N/A
Remarks
  • N/A
Return Value
  • Type:Void
  • Description:N/A
Parameters
  • jsonString
    • Type:String
    • Description:N/A

ToString()

  • N/A
Remarks
  • N/A
Return Value
  • Type:String
  • Description:N/A
Parameters

Equals(Object)

  • N/A
Remarks
  • N/A
Return Value
  • Type:Boolean
  • Description:N/A
Parameters
  • obj
    • Type:Object
    • Description:N/A

GetHashCode()

  • N/A
Remarks
  • N/A
Return Value
  • Type:Int32
  • Description:N/A
Parameters

GetType()

  • N/A
Remarks
  • N/A
Return Value
  • Type:Type
  • Description:N/A
Parameters

Protected Methods

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<Marker>
  • Description:A collection of Marker objects that will be serialized to the client.
Parameters
  • worldExtent
    • 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.

EhQ=(Page)

  • N/A
Remarks
  • N/A
Return Value
  • Type:Void
  • Description:N/A
Parameters
  • page
    • Type:Page
    • Description:N/A

RegisterJavaScriptLibraryCore(Page)

  • N/A
Remarks
  • N/A
Return Value
  • Type:Void
  • Description:N/A
Parameters
  • page
    • Type:Page
    • Description:N/A

Finalize()

  • N/A
Remarks
  • N/A
Return Value
  • Type:Void
  • Description:N/A
Parameters

MemberwiseClone()

  • N/A
Remarks
  • N/A
Return Value
  • Type:Object
  • Description:N/A
Parameters

Public Properties

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

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

OnClientMarkersRequesting

N/A

Remarks

N/A

Return Value
  • Type:String

OnClientMarkersRequested

N/A

Remarks

N/A

Return Value
  • Type:String

ActionTriggers

N/A

Remarks

N/A

Return Value

IsVisible

N/A

Remarks

N/A

Return Value
  • Type:Boolean

Name

N/A

Remarks

N/A

Return Value
  • Type:String

Opacity

N/A

Remarks

N/A

Return Value
  • Type:Single

IsVisibleInOverlaySwitcher

N/A

Remarks

N/A

Return Value
  • Type:Boolean

Id

N/A

Remarks

N/A

Return Value
  • Type:String

OnClientAutoRefreshTick

N/A

Remarks

N/A

Return Value
  • Type:String

AutoRefreshInterval

N/A

Remarks

N/A

Return Value
  • Type:TimeSpan

Attribution

N/A

Remarks

N/A

Return Value
  • Type:String

Protected Properties

OverlayType

Gets a string that indicates the overlay type.

Remarks

N/A

Return Value
  • Type:String

IsDefault

Gets or sets whether using default configuration.

Remarks

N/A

Return Value
  • Type:Boolean

TRU=

N/A

Remarks

N/A

Return Value

ERQ=

N/A

Remarks

N/A

Return Value
  • Type:Double

Public Events

thinkgeo.mapsuite.mvcedition.markeroverlay.txt · Last modified: 2017/03/16 21:59 (external edit)