User Tools

Site Tools


thinkgeo.mapsuite.mvcedition.editfeatureoverlay

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
thinkgeo.mapsuite.mvcedition.editfeatureoverlay [2015/08/20 03:08]
127.0.0.1 external edit
thinkgeo.mapsuite.mvcedition.editfeatureoverlay [2017/03/16 21:59] (current)
Line 1: Line 1:
 ====== ThinkGeo.MapSuite.MvcEdition.EditFeatureOverlay ====== ====== ThinkGeo.MapSuite.MvcEdition.EditFeatureOverlay ======
  
 +{{section>​upgrade_map_suite_to_10.0}}
  
- 
-<!-- Class --> 
 Represents a FeatureOverlay whose features can be added or edited at the client side. Represents a FeatureOverlay whose features can be added or edited at the client side.
-=== Remarks === 
-You can change the EditFeatureOverlay to different modes by setting the <​strong>​TrackMode</​strong>​ property. In these modes, you can draw or edit features at the client side. After postback, these client features are converted and entered into its <​strong>​Features</​strong>​ collection automatically. The <​strong>​EditSettings</​strong>​ property controls how you can edit the features -- whether or not you can drag, resize, reshape, or rotate them. 
- 
-You cannot create a concrete EditFeatureOverlay by yourself. You can only use Map.EditOverlay to access it. 
 ===== Inheritance Hierarchy ===== ===== Inheritance Hierarchy =====
-*System.Object +  ​*System.Object 
-**[[ThinkGeo.MapSuite.MvcEdition.Overlay]] +    *ThinkGeo.MapSuite.MvcEdition.Overlay 
-***[[ThinkGeo.MapSuite.MvcEdition.FeatureOverlay]] +      *ThinkGeo.MapSuite.MvcEdition.FeatureOverlay 
-****[[ThinkGeo.MapSuite.MvcEdition.EditFeatureOverlay]]+        ***ThinkGeo.MapSuite.MvcEdition.EditFeatureOverlay**
 ===== Members Summary ===== ===== Members Summary =====
 ==== Public Constructors ==== ==== Public Constructors ====
-^ Name ^ Parameters ^ DeclaringType ^ Summary ^ 
- 
 ==== Protected Constructors ==== ==== Protected Constructors ====
-^ Name ^ Parameters ^ DeclaringType ^ Summary ^+** {{wiki:​ProtectedMethod.gif|}} EditFeatureOverlay(String) **
  
 +  * //N/A//
 +== Remarks ==
 +  * //N/A//
 +== Parameters ==
 +  * //id//
 +    * Type:String
 +    * Description:​N/​A
 +
 +<div newline></​div>​
 ==== Public Methods ==== ==== Public Methods ====
-^ Name ^ Parameters ^ DeclaringType ^ Summary ^ +** {{wiki:​PublicMethod.gif|}} ToJson() ​**
-{{wiki:​PublicMethod.gif|Public Method}}[[#​Equals(Object)|Equals]] ​  | Object ​  | Object ​  ​| ​   | +
-| {{wiki:​PublicMethod.gif|Public Method}}[[#​FromJson(String)|FromJson]] ​  | String ​  | [[ThinkGeo.MapSuite.MvcEdition.Overlay|Overlay]] ​  | Load this object from a json string. ​  | +
-| {{wiki:​PublicMethod.gif|Public Method}}[[#​GetHashCode()|GetHashCode]] ​  ​| ​   | Object ​  ​| ​   | +
-| {{wiki:​PublicMethod.gif|Public Method}}[[#​GetType()|GetType]] ​  ​| ​   | Object ​  ​| ​   | +
-| {{wiki:​PublicMethod.gif|Public Method}}[[#ToJson()|ToJson]] ​  ​| ​   | [[ThinkGeo.MapSuite.MvcEdition.Overlay|Overlay]] ​  | Returns a JSON string which contains the information for creating an overlay at the client side.   | +
-| {{wiki:​PublicMethod.gif|Public Method}}[[#​ToString()|ToString]] ​  ​| ​   | Object ​  ​| ​   |+
  
 +  * //N/A//
 +== Remarks ==
 +  * //N/A//
 +
 +== Return Value ==
 +  * Type:String
 +  * Description:​N/​A
 +
 +== Parameters ==
 +<div newline></​div>​
 +** {{wiki:​PublicMethod.gif|}} FromJson(String) **
 +
 +  * //N/A//
 +== Remarks ==
 +  * //N/A//
 +
 +== Return Value ==
 +  * Type:Void
 +  * Description:​N/​A
 +
 +== Parameters ==
 +  * //​jsonString//​
 +    * Type:String
 +    * Description:​N/​A
 +
 +<div newline></​div>​
 +** {{wiki:​PublicMethod.gif|}} ToString() **
 +
 +  * //N/A//
 +== Remarks ==
 +  * //N/A//
 +
 +== Return Value ==
 +  * Type:String
 +  * Description:​N/​A
 +
 +== Parameters ==
 +<div newline></​div>​
 +** {{wiki:​PublicMethod.gif|}} Equals(Object) **
 +
 +  * //N/A//
 +== Remarks ==
 +  * //N/A//
 +
 +== Return Value ==
 +  * Type:​Boolean
 +  * Description:​N/​A
 +
 +== Parameters ==
 +  * //obj//
 +    * Type:Object
 +    * Description:​N/​A
 +
 +<div newline></​div>​
 +** {{wiki:​PublicMethod.gif|}} GetHashCode() **
 +
 +  * //N/A//
 +== Remarks ==
 +  * //N/A//
 +
 +== Return Value ==
 +  * Type:Int32
 +  * Description:​N/​A
 +
 +== Parameters ==
 +<div newline></​div>​
 +** {{wiki:​PublicMethod.gif|}} GetType() **
 +
 +  * //N/A//
 +== Remarks ==
 +  * //N/A//
 +
 +== Return Value ==
 +  * Type:Type
 +  * Description:​N/​A
 +
 +== Parameters ==
 +<div newline></​div>​
 ==== Protected Methods ==== ==== Protected Methods ====
-^ Name ^ Parameters ^ DeclaringType ^ Summary ^ +** {{wiki:​ProtectedMethod.gif|}} ​EhQ=(Page** 
-{{wiki:​ProtectedMethod.gif|Protected Method}}[[#Finalize()|Finalize]] ​  ​| ​   | Object ​  ​| ​   | + 
-{{wiki:​ProtectedMethod.gif|Protected Method}}[[#​MemberwiseClone()|MemberwiseClone]] ​  ​| ​   | Object ​  ​| ​   | +  * //N/A// 
-{{wiki:​ProtectedMethod.gif|Protected Method}}[[#​RegisterJavaScriptLibraryCore(Page)|RegisterJavaScriptLibraryCore]] ​  | Page   | [[ThinkGeo.MapSuite.MvcEdition.Overlay|Overlay]] ​  | Registers a Javascript library URL string to the client HTML page.   |+== Remarks == 
 +  * //N/A// 
 + 
 +== Return Value == 
 +  * Type:Void 
 +  * Description:​N/​A 
 + 
 +== Parameters == 
 +  * //page// 
 +    * Type:Page 
 +    * Description:​N/​A 
 + 
 +<div newline></​div>​ 
 +** {{wiki:​ProtectedMethod.gif|}} ​RegisterJavaScriptLibraryCore(Page** 
 + 
 +  * //N/A// 
 +== Remarks == 
 +  * //N/A// 
 + 
 +== Return Value == 
 +  * Type:Void 
 +  * Description:​N/​A 
 + 
 +== Parameters == 
 +  * //page// 
 +    * Type:Page 
 +    * Description:​N/​A 
 + 
 +<div newline></​div>​ 
 +** {{wiki:​ProtectedMethod.gif|}} ​Finalize() ** 
 + 
 +  * //N/A// 
 +== Remarks == 
 +  * //N/A// 
 + 
 +== Return Value == 
 +  * Type:Void 
 +  * Description:​N/​A 
 + 
 +== Parameters == 
 +<div newline></​div>​ 
 +** {{wiki:​ProtectedMethod.gif|}} MemberwiseClone() ** 
 + 
 +  * //N/A// 
 +== Remarks == 
 +  * //N/A// 
 + 
 +== Return Value == 
 +  * Type:​Object 
 +  * Description:​N/​A
  
 +== Parameters ==
 +<div newline></​div>​
 ==== Public Properties ==== ==== Public Properties ====
-^ Name ^ Return ^ DeclaringType ^ Summary ^ +** {{wiki:​PublicProperty.gif|}} TrackMode ​**
-{{wiki:​PublicProperty.gif|Public Property}}[[#​Attribution|Attribution]] ​  | String ​  | [[ThinkGeo.MapSuite.MvcEdition.Overlay|Overlay]] ​  ​| ​   | +
-| {{wiki:​PublicProperty.gif|Public Property}}[[#​AutoRefreshInterval|AutoRefreshInterval]] ​  | TimeSpan ​  | [[ThinkGeo.MapSuite.MvcEdition.Overlay|Overlay]] ​  | Gets or sets the time interval in which the MarkerOverlay refreshes itself. ​  | +
-| {{wiki:​PublicProperty.gif|Public Property}}[[#​Columns|Columns]] ​  | Collection<​[[ThinkGeo.MapSuite.Core.FeatureSourceColumn|FeatureSourceColumn]]> ​  | [[ThinkGeo.MapSuite.MvcEdition.FeatureOverlay|FeatureOverlay]] ​  | Gets a collection of FeatureSourceColumns,​ which specifies the column names of the feature data.   | +
-| {{wiki:​PublicProperty.gif|Public Property}}[[#​EditSettings|EditSettings]] ​  | [[ThinkGeo.MapSuite.MvcEdition.EditSettings|EditSettings]] ​  ​| ​   | Gets an EditSettings object that controls how you can edit the shapes. ​  | +
-| {{wiki:​PublicProperty.gif|Public Property}}[[#​EditTools|EditTools]] ​  | [[ThinkGeo.MapSuite.Core.EditTools|EditTools]] ​  | [[ThinkGeo.MapSuite.MvcEdition.FeatureOverlay|FeatureOverlay]] ​  | Gets the EditTools that allow you to easily edit features in the FeatureOverlay. ​  | +
-| {{wiki:​PublicProperty.gif|Public Property}}[[#​FeatureSource|FeatureSource]] ​  | [[ThinkGeo.MapSuite.Core.InMemoryFeatureSource|InMemoryFeatureSource]] ​  | [[ThinkGeo.MapSuite.MvcEdition.FeatureOverlay|FeatureOverlay]] ​  | Gets the FeatureSource of the FeatureOverlay. ​  | +
-| {{wiki:​PublicProperty.gif|Public Property}}[[#​Features|Features]] ​  | [[ThinkGeo.MapSuite.Core.GeoCollection|GeoCollection]]<​[[ThinkGeo.MapSuite.Core.Feature|Feature]]> ​  | [[ThinkGeo.MapSuite.MvcEdition.FeatureOverlay|FeatureOverlay]] ​  | Gets a collection of features that will be serialized to the client for drawing and editing. ​  | +
-| {{wiki:​PublicProperty.gif|Public Property}}[[#​Id|Id]] ​  | String ​  | [[ThinkGeo.MapSuite.MvcEdition.Overlay|Overlay]] ​  | Gets the identifier for the overlay to be found. ​  | +
-| {{wiki:​PublicProperty.gif|Public Property}}[[#​IsBaseOverlay|IsBaseOverlay]] ​  | Boolean ​  | [[ThinkGeo.MapSuite.MvcEdition.Overlay|Overlay]] ​  | Gets or sets a value that indicates whether the overlay is a base overlay. ​  | +
-| {{wiki:​PublicProperty.gif|Public Property}}[[#​IsVisible|IsVisible]] ​  | Boolean ​  | [[ThinkGeo.MapSuite.MvcEdition.Overlay|Overlay]] ​  | Gets or sets a value that indicates whether the overlay is visible on the map.   | +
-| {{wiki:​PublicProperty.gif|Public Property}}[[#​IsVisibleInOverlaySwitcher|IsVisibleInOverlaySwitcher]] ​  | Boolean ​  | [[ThinkGeo.MapSuite.MvcEdition.Overlay|Overlay]] ​  | Gets or sets a value that indicates whether the overlay name is displayed in the OverlaySwitcher. ​  | +
-| {{wiki:​PublicProperty.gif|Public Property}}[[#​Name|Name]] ​  | String ​  | [[ThinkGeo.MapSuite.MvcEdition.Overlay|Overlay]] ​  | Gets or sets the name of the overlay, which will display in the OverlaySwitcher. ​  | +
-| {{wiki:​PublicProperty.gif|Public Property}}[[#​OnClientAutoRefreshTick|OnClientAutoRefreshTick]] ​  | String ​  | [[ThinkGeo.MapSuite.MvcEdition.Overlay|Overlay]] ​  | Gets or sets a JavaScript function name which will be executed when the number of milliseconds specified in the AutoRefreshInterval property has elapsed. ​  | +
-| {{wiki:​PublicProperty.gif|Public Property}}[[#​Opacity|Opacity]] ​  | Single ​  | [[ThinkGeo.MapSuite.MvcEdition.Overlay|Overlay]] ​  | Gets or sets the opacity level of the overlay. ​  | +
-| {{wiki:​PublicProperty.gif|Public Property}}[[#​QueryTools|QueryTools]] ​  | [[ThinkGeo.MapSuite.Core.QueryTools|QueryTools]] ​  | [[ThinkGeo.MapSuite.MvcEdition.FeatureOverlay|FeatureOverlay]] ​  | Gets the QueryTools that allow you to easily query features from the FeatureOverlay. ​  | +
-| {{wiki:​PublicProperty.gif|Public Property}}[[#​Style|Style]] ​  | [[ThinkGeo.MapSuite.MvcEdition.FeatureOverlayStyle|FeatureOverlayStyle]] ​  | [[ThinkGeo.MapSuite.MvcEdition.FeatureOverlay|FeatureOverlay]] ​  | Gets or sets a FeatureOverlayStyle object, which determines how the features are drawn at the client side.   | +
-| {{wiki:​PublicProperty.gif|Public Property}}[[#​TrackMode|TrackMode]] ​  | [[ThinkGeo.MapSuite.MvcEdition.TrackMode|TrackMode]] ​  ​| ​   | Gets a mode of EditFeatureOverlay. ​  |+
  
-==== Protected Properties ​==== +Gets a mode of EditFeatureOverlay. 
-^ Name ^ Return ^ DeclaringType ^ Summary ^ +== Remarks ​== 
-| {{wiki:ProtectedProperty.gif|Protected Property}}[[#​OverlayType|OverlayType]] ​  | String ​  ​| ​[[ThinkGeo.MapSuite.MvcEdition.Overlay|Overlay]](overriden) ​  ​| ​   |+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 == 
 +  * Type:​[[ThinkGeo.MapSuite.MvcEdition.TrackMode|TrackMode]]
  
-==== Public Events ==== +** {{wiki:​PublicProperty.gif|}} EditSettings **
-^ Name ^ Event Arguments ^ DeclaringType ^ Summary ^+
  
-===== Public Constructors ===== +Gets an EditSettings object that controls how you can edit the shapes. 
-===== Protected Constructors ===== +== Remarks ​== 
-===== Public Methods ===== +The EditSettings object contains four options: IsDraggable,​ IsReshapable,​ IsRotatable,​ IsResizable. 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. 
-==== Equals(Object) ==== +== Return Value == 
-=== Return Value === +  ​* ​Type:[[ThinkGeo.MapSuite.MvcEdition.EditSettings|EditSettings]]
-^ Return ​Type ^ Description ^ +
-| Boolean<​!-- System.Boolean --> ​  ​| ​   ​|+
  
-=== Parameters === +** {{wiki:​PublicProperty.gif|}} Features **
-^  Name ^  Type ^  Description ^ +
-| obj   | Object<​!-- System.Object --> ​  ​| ​   ​|+
  
-<!-- System.Object --> +N/A 
-[[#Public Methods|Go Back]] +== Remarks ​== 
-==== FromJson(String) ==== +N/A 
-Load this object from a json string. +== Return Value == 
-=== Return Value === +  ​* ​Type:[[ThinkGeo.MapSuite.Core.GeoCollection<​T>[[ThinkGeo.MapSuite.Core.Feature,​ MapSuiteCore,​ Version=9.0.0.0,​ Culture=neutral,​ PublicKeyToken=null]]|GeoCollection<​T>​]]
-^ Return ​Type ^ Description ^ +
-| Void<!-- System.Void --  |    ​|+
  
-=== Parameters === +** {{wiki:​PublicProperty.gif|}} FeatureSource **
-^  Name ^  Type ^  Description ^ +
-| jsonString ​  | String<​!-- System.String --> ​  | a json string ​  |+
  
-<!-- ThinkGeo.MapSuite.MvcEdition.Overlay --> +N/A 
-[[#Public Methods|Go Back]] +== Remarks ​== 
-==== GetHashCode() ==== +N/A 
-=== Return Value === +== Return Value == 
-^ Return ​Type ^ Description ^ +  ​* ​Type:[[ThinkGeo.MapSuite.Core.InMemoryFeatureSource|InMemoryFeatureSource]]
-| Int32<​!-- System.Int32 --> ​  ​| ​   ​|+
  
-=== Parameters === +** {{wiki:​PublicProperty.gif|}} Columns **
-^  Name ^  Type ^  Description ^+
  
-<!-- System.Object --> +N/A 
-[[#Public Methods|Go Back]] +== Remarks ​== 
-==== GetType() ==== +N/A 
-=== Return Value === +== Return Value == 
-^ Return Type ^ Description ^ +  ​* ​Type:Collection<[[ThinkGeo.MapSuite.Core.FeatureSourceColumn|FeatureSourceColumn]]>
-Type<!-- System.Type --  |    |+
  
-=== Parameters === +** {{wiki:​PublicProperty.gif|}} Style **
-^  Name ^  Type ^  Description ^+
  
-<!-- System.Object --> +N/A 
-[[#Public Methods|Go Back]] +== Remarks ​== 
-==== ToJson() ==== +N/A 
-Returns a JSON string which contains the information for creating an overlay at the client side. +== Return Value == 
-=== Return Value === +  ​* ​Type:[[ThinkGeo.MapSuite.MvcEdition.FeatureOverlayStyle|FeatureOverlayStyle]]
-^ Return ​Type ^ Description ^ +
-| String<​!-- System.String --> ​  | A JSON string which is used to create an overlay at the client side  ​|+
  
-=== Parameters === +** {{wiki:​PublicProperty.gif|}} QueryTools **
-^  Name ^  Type ^  Description ^+
  
-<!-- ThinkGeo.MapSuite.MvcEdition.Overlay --> +N/A 
-[[#Public Methods|Go Back]] +== Remarks ​== 
-==== ToString() ==== +N/A 
-=== Return Value === +== Return Value == 
-^ Return ​Type ^ Description ^ +  ​* ​Type:[[ThinkGeo.MapSuite.Core.QueryTools|QueryTools]]
-| String<​!-- System.String --> ​  ​| ​   ​|+
  
-=== Parameters === +** {{wiki:​PublicProperty.gif|}} EditTools **
-^  Name ^  Type ^  Description ^+
  
-<!-- System.Object --> +N/A 
-[[#Public Methods|Go Back]] +== Remarks ​== 
-===== Protected Methods ===== +N/A 
-==== Finalize() ==== +== Return Value == 
-=== Return Value === +  ​* ​Type:[[ThinkGeo.MapSuite.Core.EditTools|EditTools]]
-^ Return ​Type ^ Description ^ +
-| Void<!-- System.Void --> ​  ​| ​   ​|+
  
-=== Parameters === +** {{wiki:​PublicProperty.gif|}} IsVisible **
-^  Name ^  Type ^  Description ^+
  
-<!-- System.Object --> +N/A 
-[[#​Protected Methods|Go Back]] +== Remarks ​== 
-==== MemberwiseClone() ==== +N/A 
-=== Return Value === +== Return Value == 
-^ Return ​Type ^ Description ^ +  ​* ​Type:Boolean
-| Object<​!-- System.Object --> ​  ​| ​   |+
  
-=== Parameters === +** {{wiki:​PublicProperty.gif|}} ​Name **
-^  ​Name ^  Type ^  Description ^+
  
-<!-- System.Object --> +N/A 
-[[#​Protected Methods|Go Back]] +== Remarks == 
-==== RegisterJavaScriptLibraryCore(Page) ==== +N/A 
-Registers a Javascript library URL string to the client HTML page. +== Return Value == 
-=== Remarks ​=== +  ​* ​Type:String
-The <​strong>​RegisterJavaScriptLibraryCore<​/strong> method allows derived classes to override and register their own Javascript library URL to the HTML page. +
-=== Return Value === +
-^ Return ​Type ^ Description ^ +
-| Void<!-- System.Void --> ​  ​| ​   |+
  
-=== Parameters === +** {{wiki:​PublicProperty.gif|}} Opacity **
-^  Name ^  Type ^  Description ^ +
-| page   | Page<!-- System.Web.UI.Page --> ​  | The page object that is used for registering the javascript library  ​|+
  
-<!-- ThinkGeo.MapSuite.MvcEdition.Overlay --> +N/A 
-[[#​Protected Methods|Go Back]] +== Remarks ​== 
-===== Public Properties ===== +N/A 
-==== Attribution ==== +== Return Value == 
-=== Return Value === +  ​* ​Type:Single
-^ Return ​Type +
-| String<​!-- System.String --> ​  |+
  
-<!-- ThinkGeo.MapSuite.MvcEdition.Overlay --> +** {{wiki:​PublicProperty.gif|}} IsVisibleInOverlaySwitcher **
-[[#Public Properties|Go Back]] +
-==== AutoRefreshInterval ==== +
-Gets or sets the time interval in which the MarkerOverlay refreshes itself. +
-=== Return Value === +
-^ Return Type ^ +
-| TimeSpan<​!-- System.TimeSpan --> ​  |+
  
-<!-- ThinkGeo.MapSuite.MvcEdition.Overlay --> +N/A 
-[[#Public Properties|Go Back]] +== Remarks ​== 
-==== Columns ==== +N/A 
-Gets a collection of FeatureSourceColumns,​ which specifies the column names of the feature data. +== Return Value == 
-=== Return Value === +  ​* ​Type:Boolean
-^ Return ​Type +
-| Collection<​[[ThinkGeo.MapSuite.Core.FeatureSourceColumn|FeatureSourceColumn]]><​!-- System.Collections.ObjectModel.Collection{ThinkGeo.MapSuite.Core.FeatureSourceColumn} --> ​  |+
  
-<!-- ThinkGeo.MapSuite.MvcEdition.FeatureOverlay --> +** {{wiki:PublicProperty.gif|}} IsBaseOverlay **
-[[#Public Properties|Go Back]] +
-==== 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 === +
-^ Return Type ^ +
-| [[ThinkGeo.MapSuite.MvcEdition.EditSettings|EditSettings]]<​!-- ThinkGeo.MapSuite.MvcEdition.EditSettings --> ​  |+
  
-<!-- ThinkGeo.MapSuite.MvcEdition.EditFeatureOverlay --> +N/A 
-[[#Public Properties|Go Back]] +== Remarks ​== 
-==== EditTools ==== +N/A 
-Gets the EditTools that allow you to easily edit features in the FeatureOverlay. +== Return Value == 
-=== Return Value === +  ​* ​Type:Boolean
-^ Return ​Type +
-| [[ThinkGeo.MapSuite.Core.EditTools|EditTools]]<​!-- ThinkGeo.MapSuite.Core.EditTools --> ​  |+
  
-<!-- ThinkGeo.MapSuite.MvcEdition.FeatureOverlay --> +** {{wiki:​PublicProperty.gif|}} Id **
-[[#Public Properties|Go Back]] +
-==== FeatureSource ==== +
-Gets the FeatureSource of the FeatureOverlay. +
-=== Return Value === +
-^ Return Type ^ +
-| [[ThinkGeo.MapSuite.Core.InMemoryFeatureSource|InMemoryFeatureSource]]<​!-- ThinkGeo.MapSuite.Core.InMemoryFeatureSource --> ​  |+
  
-<!-- ThinkGeo.MapSuite.MvcEdition.FeatureOverlay --> +N/A 
-[[#Public Properties|Go Back]] +== Remarks ​== 
-==== Features ==== +N/A 
-Gets a collection of features that will be serialized to the client for drawing and editing. +== Return Value == 
-=== Return Value === +  ​* ​Type:String
-^ Return ​Type +
-| [[ThinkGeo.MapSuite.Core.GeoCollection|GeoCollection]]<​[[ThinkGeo.MapSuite.Core.Feature|Feature]]><​!-- ThinkGeo.MapSuite.Core.GeoCollection{ThinkGeo.MapSuite.Core.Feature} --> ​  |+
  
-<!-- ThinkGeo.MapSuite.MvcEdition.FeatureOverlay --> +** {{wiki:​PublicProperty.gif|}} OnClientAutoRefreshTick **
-[[#Public Properties|Go Back]] +
-==== Id ==== +
-Gets the identifier for the overlay to be found. +
-=== Return Value === +
-^ Return Type ^ +
-| String<​!-- System.String --> ​  |+
  
-<!-- ThinkGeo.MapSuite.MvcEdition.Overlay --> +N/A 
-[[#Public Properties|Go Back]] +== Remarks ​== 
-==== IsBaseOverlay ==== +N/A 
-Gets or sets a value that indicates whether the overlay is a base overlay. +== Return Value == 
-=== Return Value === +  ​* ​Type:String
-^ Return ​Type +
-| Boolean<​!-- System.Boolean --> ​  |+
  
-<!-- ThinkGeo.MapSuite.MvcEdition.Overlay --> +** {{wiki:​PublicProperty.gif|}} AutoRefreshInterval **
-[[#Public Properties|Go Back]] +
-==== IsVisible ==== +
-Gets or sets a value that indicates whether the overlay is visible on the map. +
-=== Return Value === +
-^ Return Type ^ +
-| Boolean<​!-- System.Boolean --> ​  |+
  
-<!-- ThinkGeo.MapSuite.MvcEdition.Overlay --> +N/A 
-[[#Public Properties|Go Back]] +== Remarks ​== 
-==== IsVisibleInOverlaySwitcher ==== +N/A 
-Gets or sets a value that indicates whether the overlay name is displayed in the OverlaySwitcher. +== Return Value == 
-=== Return Value === +  ​* ​Type:TimeSpan
-^ Return ​Type +
-| Boolean<​!-- System.Boolean --> ​  |+
  
-<!-- ThinkGeo.MapSuite.MvcEdition.Overlay --> +** {{wiki:​PublicProperty.gif|}} Attribution **
-[[#Public Properties|Go Back]] +
-==== Name ==== +
-Gets or sets the name of the overlay, which will display in the OverlaySwitcher. +
-=== Return Value === +
-^ Return Type ^ +
-| String<​!-- System.String --> ​  |+
  
-<!-- ThinkGeo.MapSuite.MvcEdition.Overlay --> +N/A 
-[[#Public Properties|Go Back]] +== Remarks ​== 
-==== OnClientAutoRefreshTick ==== +N/A 
-Gets or sets a JavaScript function name which will be executed when the number of milliseconds specified in the AutoRefreshInterval property has elapsed. +== Return Value == 
-=== Return Value === +  ​* ​Type:String
-^ Return ​Type +
-| String<​!-- System.String ​--> ​  |+
  
-<!-- ThinkGeo.MapSuite.MvcEdition.Overlay --> +==== Protected Properties ​==== 
-[[#Public Properties|Go Back]] +** {{wiki:​ProtectedProperty.gif|}} JsonFeatures **
-==== 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 === +
-^ Return Type ^ +
-| Single<​!-- System.Single --> ​  |+
  
-<!-- ThinkGeo.MapSuite.MvcEdition.Overlay --> +N/A 
-[[#Public Properties|Go Back]] +== Remarks ​== 
-==== QueryTools ==== +N/A 
-Gets the QueryTools that allow you to easily query features from the FeatureOverlay. +== Return Value == 
-=== Return Value === +  ​* ​Type:​Collection<​[[ThinkGeo.MapSuite.Core.Feature|Feature]]>
-^ Return ​Type +
-[[ThinkGeo.MapSuite.Core.QueryTools|QueryTools]]<!-- ThinkGeo.MapSuite.Core.QueryTools --  |+
  
-<!-- ThinkGeo.MapSuite.MvcEdition.FeatureOverlay --> +** {{wiki:​ProtectedProperty.gif|}} OverlayType **
-[[#Public Properties|Go Back]] +
-==== Style ==== +
-Gets or sets a FeatureOverlayStyle object, which determines how the features are drawn at the client side. +
-=== Return Value === +
-^ Return Type ^ +
-| [[ThinkGeo.MapSuite.MvcEdition.FeatureOverlayStyle|FeatureOverlayStyle]]<​!-- ThinkGeo.MapSuite.MvcEdition.FeatureOverlayStyle --> ​  |+
  
-<!-- ThinkGeo.MapSuite.MvcEdition.FeatureOverlay --> +N/A 
-[[#Public Properties|Go Back]] +== Remarks == 
-==== TrackMode ==== +N/A 
-Gets a mode of EditFeatureOverlay. +== Return Value == 
-=== Remarks ​=== +  ​* ​Type:String
-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 === +
-^ Return ​Type +
-| [[ThinkGeo.MapSuite.MvcEdition.TrackMode|TrackMode]]<​!-- ThinkGeo.MapSuite.MvcEdition.TrackMode --> ​  |+
  
-<!-- ThinkGeo.MapSuite.MvcEdition.EditFeatureOverlay --> +** {{wiki:​ProtectedProperty.gif|}} ERQ**
-[[#Public Properties|Go Back]] +
-===== Protected Properties ===== +
-==== OverlayType ==== +
-=== Return Value === +
-^ Return Type ^ +
-| String<​!-- System.String --> ​  |+
  
-<!-- ThinkGeo.MapSuite.MvcEdition.Overlay(overriden) --> +N/A 
-[[#​Protected Properties|Go Back]] +== Remarks ​== 
-===== Public Events ===== +N/A 
-__NOTOC__ +== Return Value == 
-[[Category:MvcEdition]] +  * Type:Double 
-[[Category:​ThinkGeo.MapSuite.MvcEdition]] + 
-[[Category:​UpdateDocumentation]]+==== Public Events ====
  
thinkgeo.mapsuite.mvcedition.editfeatureoverlay.1440040131.txt.gz · Last modified: 2015/09/21 03:32 (external edit)