User Tools

Site Tools


thinkgeo.mapsuite.webedition.editfeatureoverlay

ThinkGeo.MapSuite.WebEdition.EditFeatureOverlay

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 FeatureOverlay whose features can be added or edited at the client side.

Inheritance Hierarchy

  • System.Object
    • ThinkGeo.MapSuite.WebEdition.Overlay
      • ThinkGeo.MapSuite.WebEdition.FeatureOverlay
        • ThinkGeo.MapSuite.WebEdition.EditFeatureOverlay

Members Summary

Public Constructors

Protected Constructors

EditFeatureOverlay(String)

  • N/A
Remarks
  • N/A
Parameters
  • id
    • Type:String
    • Description:N/A

Public Methods

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.EditFeatureOverlay#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.EditFeatureOverlay#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.EditFeatureOverlay#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.EditFeatureOverlay#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.EditFeatureOverlay#GetType.28.29
Return Value
  • Type:Type
  • Description:N/A
Parameters

Protected Methods

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.EditFeatureOverlay#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.EditFeatureOverlay#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.EditFeatureOverlay#MemberwiseClone.28.29
Return Value
  • Type:Object
  • Description:N/A
Parameters

Public Properties

TrackMode

Gets a mode of EditFeatureOverlay.

Remarks

The default mode is TrackMode.None, which means you cannot draw or edit features at the client side. By setting the mode to TrackMode.Point, TrackMode.Line, TrackMode.Polygon etc., you can then add points, lines or polygons to the FeatureOverlay. Setting the mode to TrackMode.Edit, you can edit the shapes at the client side.

Return Value

EditSettings

Gets an EditSettings object that controls how you can edit the shapes.

Remarks

The <strong>EditSettings</strong> object contains four options: <strong>IsDraggable</strong>, <strong>IsReshapable</strong>, <strong>IsRotatable</strong>, <strong>IsResizable</strong>. By default, all of them are set to true. This means you can drag, reshape, rotate and resize shapes when you are in edit mode. If you set any of these options to false, you prohibit that functionality.

Return Value

Features

Gets a collection of features that will be serialized to the client for drawing and editing.

Remarks

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

Return Value
Remarks

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

Return Value

Columns

Gets a collection of FeatureSourceColumns, which specifies the column names 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.EditFeatureOverlay#Columns

Return Value

Style

Gets or sets a FeatureOverlayStyle object, which determines how the features are drawn 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.EditFeatureOverlay#Style

Return Value

QueryTools

Gets the QueryTools that allow you to easily query features from the FeatureOverlay.

Remarks

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

Return Value

EditTools

Gets the EditTools that allow you to easily edit features in the FeatureOverlay.

Remarks

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

Return Value

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.EditFeatureOverlay#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.EditFeatureOverlay#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

IsBaseOverlay

Gets or sets a value that indicates whether the overlay is a base overlay.

Remarks

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

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

Return Value
  • Type:String

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.EditFeatureOverlay#AutoRefreshInterval

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.EditFeatureOverlay#Attribution

Return Value
  • Type:String

Protected Properties

JsonFeatures

N/A

Remarks

N/A

Return Value

OverlayType

N/A

Remarks

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

Return Value
  • Type:String

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.EditFeatureOverlay#HasTickEvent

Return Value
  • Type:Boolean

3hM=

N/A

Remarks

N/A

Return Value
  • Type:Double

Public Events

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

Event Arguments:EventArgs

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