User Tools

Site Tools


thinkgeo.mapsuite.webedition.featuresourcemarkeroverlay

ThinkGeo.MapSuite.WebEdition.FeatureSourceMarkerOverlay

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.

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

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

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.

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
    • Description:The feature source object that provides the features from which the markers are created.

Protected Constructors

Public Methods

GetMarkers(RectangleShape,Int32)

  • Returns a collection of markers based on the extent and zoomlevel that you passed in.
Remarks
  • The <strong>GetMarkers</strong> 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()

  • 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

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

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

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

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

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

5hM=()

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

5xM=(Object)

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

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

OnClick(MarkerOverlayClickEventArgs)

  • Raises the Click event of the MarkerOverlay object.
Remarks
  • The <strong>OnClick</strong> 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. <strong>Notes to Inheritors:</strong> When overriding <strong>OnClick</strong> in a derived class, be sure to call the base class's <strong>OnClick</strong> method so that registered delegates receive the event.
Return Value
  • Type:Void
  • Description:N/A
Parameters

5BM=()

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

5RM=(Object)

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

3xM=(Page)

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

RegisterJavaScriptLibraryCore(Page)

  • Registers a Javascript library URL string to the client HTML page.
Remarks
  • The <strong>RegisterJavaScriptLibraryCore</strong> 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.

RaiseTickEvent(EventArgs)

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

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.

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

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

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”><span dir=“auto

Return Value

ZoomLevelSet

Gets the ZoomLevelSet object that controls the markers' generation.

Remarks
Return Value

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

IsBaseOverlay

N/A

Remarks
Return Value
  • Type:Boolean

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.FeatureSourceMarkerOverlay#IsVisible

Return Value
  • Type:Boolean

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.FeatureSourceMarkerOverlay#Name

Return Value
  • Type:String

Opacity

Gets or sets the opacity level of the overlay.

Remarks

The <strong>Opacity</strong> 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

IsVisibleInOverlaySwitcher

Gets or sets a value that indicates whether the overlay name is displayed in the OverlaySwitcher.

Remarks
Return Value
  • Type:Boolean

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.FeatureSourceMarkerOverlay#Id

Return Value
  • Type:String

AutoRefreshInterval

Gets or sets the time interval in which the MarkerOverlay refreshes itself.

Remarks
Return Value
  • Type:TimeSpan

Attribution

N/A

Remarks

For the most updated Info for this topic, please check it here:http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WebEdition.FeatureSourceMarkerOverlay#Attribution

Return Value
  • Type:String

Protected Properties

OverlayType

N/A

Remarks

For the most updated Info for this topic, please check it here:http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WebEdition.FeatureSourceMarkerOverlay#OverlayType

Return Value
  • Type:String

HasClickEvent

N/A

Remarks

N/A

Return Value
  • Type:Boolean

IsDefault

N/A

Remarks

N/A

Return Value
  • Type:Boolean

HasTickEvent

Indicates whether the overlay supports tick event.

Remarks
Return Value
  • Type:Boolean

3hM=

N/A

Remarks

N/A

Return Value
  • Type:Double

Public Events

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.FeatureSourceMarkerOverlay#OnClick.28MarkerOverlayClickEventArgs.29

Event Arguments:MarkerOverlayClickEventArgs

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.FeatureSourceMarkerOverlay#OnTick.28EventArgs.29

Event Arguments:EventArgs

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