User Tools

Site Tools


thinkgeo.mapsuite.mvcedition.map

Differences

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

Link to this comparison view

Next revision
Previous revision
thinkgeo.mapsuite.mvcedition.map [2015/08/20 03:08]
127.0.0.1 external edit
— (current)
Line 1: Line 1:
-====== ThinkGeo.MapSuite.MvcEdition.Map ====== 
- 
- 
- 
-<!-- Class --> 
-This class represents the map control. 
-=== Remarks === 
-To use the map control in your Mvc application,​ serveral basic properties are required. The most important step is adding overlays, which generates images and stacks them over each other to form a map image. 
-===== Inheritance Hierarchy ===== 
-*System.Object 
-**[[ThinkGeo.MapSuite.MvcEdition.MvcControlBase]] 
-***[[ThinkGeo.MapSuite.MvcEdition.Map]] 
-===== Members Summary ===== 
-==== Public Constructors ==== 
-^ Name ^ Parameters ^ DeclaringType ^ Summary ^ 
-| {{wiki:​PublicMethod.gif|Public Method}}[[#​Map()|Map]] ​  ​| ​   |    | Initializes a new instance of the Map class. ​  | 
-| {{wiki:​PublicMethod.gif|Public Method}}[[#​Map(String)|Map]] ​  | String ​  ​| ​   | Initializes a new instance of the Map class with identifier. ​  | 
-| {{wiki:​PublicMethod.gif|Public Method}}[[#​Map(String,​ Unit, Unit)|Map]] ​  | String, Unit, Unit   ​| ​   | Initializes a new instance of the Map class with identifier, map width, and map height specified. ​  | 
- 
-==== Protected Constructors ==== 
-^ Name ^ Parameters ^ DeclaringType ^ Summary ^ 
- 
-==== Public Methods ==== 
-^ Name ^ Parameters ^ DeclaringType ^ Summary ^ 
-| {{wiki:​PublicMethod.gif|Public Method}}[[#​CenterAt(PointShape)|CenterAt]] ​  | [[ThinkGeo.MapSuite.Core.PointShape|PointShape]] ​  ​| ​   | Moves the center of the map to a specified point.. ​  | 
-| {{wiki:​PublicMethod.gif|Public Method}}[[#​CenterAt(Double,​ Double)|CenterAt]] ​  | Double, Double ​  ​| ​   | Moves the center of the map to a point specified by the provided X, Y world coordinates. ​  | 
-| {{wiki:​PublicMethod.gif|Public Method}}[[#​Equals(Object)|Equals]] ​  | Object ​  | Object ​  ​| ​   | 
-| {{wiki:​PublicMethod.gif|Public Method}}[[#​Fill(String,​ String)|Fill]] ​  | String, String ​  | [[ThinkGeo.MapSuite.MvcEdition.MvcControlBase|MvcControlBase]] ​  | Fill an instance based on the input model name according to the input entity string ​  | 
-| {{wiki:​PublicMethod.gif|Public Method}}[[#​Fill(String)|Fill]] ​  | String ​  | [[ThinkGeo.MapSuite.MvcEdition.MvcControlBase|MvcControlBase]] ​  | Fill an instance according to the input entity string ​  | 
-| {{wiki:​PublicMethod.gif|Public Method}}[[#​FromJson(String)|FromJson]] ​  | String ​  ​| ​   | Load this object from a json string. ​  | 
-| {{wiki:​PublicMethod.gif|Public Method}}[[#​GetBitmap()|GetBitmap]] ​  ​| ​   |    | Save this object to a bitmap ​  | 
-| {{wiki:​PublicMethod.gif|Public Method}}[[#​GetBitmap(Int32,​ Int32)|GetBitmap]] ​  | Int32, Int32   ​| ​   | Gets a bitmap image based on the current map settings with the specified width and height. ​  | 
-| {{wiki:​PublicMethod.gif|Public Method}}[[#​GetHashCode()|GetHashCode]] ​  ​| ​   | Object ​  ​| ​   | 
-| {{wiki:​PublicMethod.gif|Public Method}}[[#​GetScreenDistanceBetweenTwoWorldPoints(PointShape,​ PointShape)|GetScreenDistanceBetweenTwoWorldPoints]] ​  | [[ThinkGeo.MapSuite.Core.PointShape|PointShape]],​ [[ThinkGeo.MapSuite.Core.PointShape|PointShape]] ​  ​| ​   | Gets the distance in pixels between two specified points in world coordinates. ​  | 
-| {{wiki:​PublicMethod.gif|Public Method}}[[#​GetType()|GetType]] ​  ​| ​   | Object ​  ​| ​   | 
-| {{wiki:​PublicMethod.gif|Public Method}}[[#​GetWorldDistanceBetweenTwoScreenPoints(ScreenPointF,​ ScreenPointF,​ DistanceUnit)|GetWorldDistanceBetweenTwoScreenPoints]] ​  | [[ThinkGeo.MapSuite.Core.ScreenPointF|ScreenPointF]],​ [[ThinkGeo.MapSuite.Core.ScreenPointF|ScreenPointF]],​ [[ThinkGeo.MapSuite.Core.DistanceUnit|DistanceUnit]] ​  ​| ​   | Gets the distance in the specified distance unit from two screen points. ​  | 
-| {{wiki:​PublicMethod.gif|Public Method}}[[#​Pan(PanDirection,​ Int32)|Pan]] ​  | [[ThinkGeo.MapSuite.Core.PanDirection|PanDirection]],​ Int32   ​| ​   | Moves the map by the specified direction and percentage of the current extent. ​  | 
-| {{wiki:​PublicMethod.gif|Public Method}}[[#​Pan(Single,​ Int32)|Pan]] ​  | Single, Int32   ​| ​   | Moves the map by the specified angle and the percentage of the current extent. ​  | 
-| {{wiki:​PublicMethod.gif|Public Method}}[[#​ToScreenCoordinate(PointShape)|ToScreenCoordinate]] ​  | [[ThinkGeo.MapSuite.Core.PointShape|PointShape]] ​  ​| ​   | Returns a screen point from a point shape in world coordinates. ​  | 
-| {{wiki:​PublicMethod.gif|Public Method}}[[#​ToScreenCoordinate(Double,​ Double)|ToScreenCoordinate]] ​  | Double, Double ​  ​| ​   | Returns a point shape in screen coordinates from the specified X, Y world coordinates. ​  | 
-| {{wiki:​PublicMethod.gif|Public Method}}[[#​ToString(String)|ToString]] ​  | String ​  | [[ThinkGeo.MapSuite.MvcEdition.MvcControlBase|MvcControlBase]] ​  | Convert current object based on mode name to an entity string. ​  | 
-| {{wiki:​PublicMethod.gif|Public Method}}[[#​ToString()|ToString]] ​  ​| ​   | Object(overriden) ​  ​| ​   | 
-| {{wiki:​PublicMethod.gif|Public Method}}[[#​ToWorldCoordinate(ScreenPointF)|ToWorldCoordinate]] ​  | [[ThinkGeo.MapSuite.Core.ScreenPointF|ScreenPointF]] ​  ​| ​   | Returns a point shape in world coordinates from a ScreenPointF structure. ​  | 
-| {{wiki:​PublicMethod.gif|Public Method}}[[#​ToWorldCoordinate(Single,​ Single)|ToWorldCoordinate]] ​  | Single, Single ​  ​| ​   | Returns a point shape in world coordinates from the specified X, Y screen coordinates. ​  | 
-| {{wiki:​PublicMethod.gif|Public Method}}[[#​ZoomIn()|ZoomIn]] ​  ​| ​   |    | Zooms the map in to the next zoomlevel. ​  | 
-| {{wiki:​PublicMethod.gif|Public Method}}[[#​ZoomOut()|ZoomOut]] ​  ​| ​   |    | Zooms the map out to the next zoomlevel. ​  | 
-| {{wiki:​PublicMethod.gif|Public Method}}[[#​ZoomTo(PointShape,​ Double)|ZoomTo]] ​  | [[ThinkGeo.MapSuite.Core.PointShape|PointShape]],​ Double ​  ​| ​   | Zooms the map to the center point and the scale that you specify. ​  | 
-| {{wiki:​PublicMethod.gif|Public Method}}[[#​ZoomToMarkers(IEnumerable<​Marker>​)|ZoomToMarkers]] ​  | IEnumerable<​[[ThinkGeo.MapSuite.MvcEdition.Marker|Marker]]> ​  ​| ​   | Changes the current extent to the extent that includes all of the markers passed in.   | 
-| {{wiki:​PublicMethod.gif|Public Method}}[[#​ZoomToScale(Double)|ZoomToScale]] ​  | Double ​  ​| ​   | Zoom the map to a specific scale. ​  | 
- 
-==== Protected Methods ==== 
-^ Name ^ Parameters ^ DeclaringType ^ Summary ^ 
-| {{wiki:​ProtectedMethod.gif|Protected Method}}[[#​Finalize()|Finalize]] ​  ​| ​   | Object ​  ​| ​   | 
-| {{wiki:​ProtectedMethod.gif|Protected Method}}[[#​MemberwiseClone()|MemberwiseClone]] ​  ​| ​   | Object ​  ​| ​   | 
- 
-==== Public Properties ==== 
-^ Name ^ Return ^ DeclaringType ^ Summary ^ 
-| {{wiki:​PublicProperty.gif|Public Property}}[[#​ActiveBaseOverlay|ActiveBaseOverlay]] ​  | [[ThinkGeo.MapSuite.MvcEdition.Overlay|Overlay]] ​  ​| ​   | Gets or sets the active base overlay. ​  | 
-| {{wiki:​PublicProperty.gif|Public Property}}[[#​AdornmentOverlay|AdornmentOverlay]] ​  | [[ThinkGeo.MapSuite.MvcEdition.AdornmentOverlay|AdornmentOverlay]] ​  ​| ​   | This property gets or sets the adornment overlay in the MapControl. ​  | 
-| {{wiki:​PublicProperty.gif|Public Property}}[[#​BackgroundOverlay|BackgroundOverlay]] ​  | [[ThinkGeo.MapSuite.MvcEdition.Overlay|Overlay]] ​  ​| ​   | Gets or sets an Overlay object that displays as the background map by default. ​  | 
-| {{wiki:​PublicProperty.gif|Public Property}}[[#​ClientScriptBlocks|ClientScriptBlocks]] ​  | Dictionary<​String,​String> ​  | [[ThinkGeo.MapSuite.MvcEdition.MvcControlBase|MvcControlBase]] ​  | Gets the client script blocks which will be registered to the page.   | 
-| {{wiki:​PublicProperty.gif|Public Property}}[[#​ClientScriptFileNames|ClientScriptFileNames]] ​  | Dictionary<​String,​String> ​  | [[ThinkGeo.MapSuite.MvcEdition.MvcControlBase|MvcControlBase]] ​  | Gets the client script files which will be registered to the page.   | 
-| {{wiki:​PublicProperty.gif|Public Property}}[[#​ContextMenu|ContextMenu]] ​  | [[ThinkGeo.MapSuite.MvcEdition.ContextMenu|ContextMenu]] ​  ​| ​   | Gets or sets the shortcut menu associated with the map.   | 
-| {{wiki:​PublicProperty.gif|Public Property}}[[#​CurrentExtent|CurrentExtent]] ​  | [[ThinkGeo.MapSuite.Core.RectangleShape|RectangleShape]] ​  ​| ​   | Gets or sets the current extent of the map.   | 
-| {{wiki:​PublicProperty.gif|Public Property}}[[#​CurrentScale|CurrentScale]] ​  | Double ​  ​| ​   | Gets or sets a double value that indicates the current scale of the map.   | 
-| {{wiki:​PublicProperty.gif|Public Property}}[[#​Cursor|Cursor]] ​  | [[ThinkGeo.MapSuite.MvcEdition.CursorType|CursorType]] ​  ​| ​   | Gets or sets the cursor that appears when the mouse pointer is over the map control. ​  | 
-| {{wiki:​PublicProperty.gif|Public Property}}[[#​CustomCursorUri|CustomCursorUri]] ​  | Uri   ​| ​   | Gets and sets a custom cursor image URI for the mouse cursor to use when you select '​CursorType.Custom'​. ​  | 
-| {{wiki:​PublicProperty.gif|Public Property}}[[#​CustomOverlays|CustomOverlays]] ​  | [[ThinkGeo.MapSuite.MvcEdition.GeoKeyedCollection|GeoKeyedCollection]]<​[[ThinkGeo.MapSuite.MvcEdition.Overlay|Overlay]]> ​  ​| ​   | Gets an Overlay collection, into which you can add different types of overlays. ​  | 
-| {{wiki:​PublicProperty.gif|Public Property}}[[#​DynamicOverlay|DynamicOverlay]] ​  | [[ThinkGeo.MapSuite.MvcEdition.LayerOverlay|LayerOverlay]] ​  ​| ​   | Gets a LayerOverlay object that can overlap other overlays. ​  | 
-| {{wiki:​PublicProperty.gif|Public Property}}[[#​EditOverlay|EditOverlay]] ​  | [[ThinkGeo.MapSuite.MvcEdition.EditFeatureOverlay|EditFeatureOverlay]] ​  ​| ​   | Gets an EditOverlay object, with which you can draw and edit shapes at the client. ​  | 
-| {{wiki:​PublicProperty.gif|Public Property}}[[#​GeoCanvas|GeoCanvas]] ​  | [[ThinkGeo.MapSuite.Core.GeoCanvas|GeoCanvas]] ​  ​| ​   |    | 
-| {{wiki:​PublicProperty.gif|Public Property}}[[#​Height|Height]] ​  | Unit   | [[ThinkGeo.MapSuite.MvcEdition.MvcControlBase|MvcControlBase]] ​  | Gets or sets the height of the control. ​  | 
-| {{wiki:​PublicProperty.gif|Public Property}}[[#​HeightInPixels|HeightInPixels]] ​  | Double ​  ​| ​   | Get the actual height, in pixels, of the map control. ​  | 
-| {{wiki:​PublicProperty.gif|Public Property}}[[#​HighlightOverlay|HighlightOverlay]] ​  | [[ThinkGeo.MapSuite.MvcEdition.HighlightFeatureOverlay|HighlightFeatureOverlay]] ​  ​| ​   | Gets an HighlightFeatureOverlay object, which draws its features at the client side and can attach the specified click event and context menu to them.   | 
-| {{wiki:​PublicProperty.gif|Public Property}}[[#​HtmlAttributes|HtmlAttributes]] ​  | Dictionary<​String,​String> ​  | [[ThinkGeo.MapSuite.MvcEdition.MvcControlBase|MvcControlBase]] ​  | Gets the customized html attributes of the control. ​  | 
-| {{wiki:​PublicProperty.gif|Public Property}}[[#​Id|Id]] ​  | String ​  | [[ThinkGeo.MapSuite.MvcEdition.MvcControlBase|MvcControlBase]] ​  | Gets the client id of the control, it will be calculated from Name property. ​  | 
-| {{wiki:​PublicProperty.gif|Public Property}}[[#​IsDefaultJavascriptLibraryDisabled|IsDefaultJavascriptLibraryDisabled]] ​  | Boolean ​  ​| ​   | Gets or sets whether the default javascript library is disabled or not.   | 
-| {{wiki:​PublicProperty.gif|Public Property}}[[#​MapBackground|MapBackground]] ​  | [[ThinkGeo.MapSuite.Core.BackgroundLayer|BackgroundLayer]] ​  ​| ​   | Gets or sets the BackgroundLayer object that paints the map background. ​  | 
-| {{wiki:​PublicProperty.gif|Public Property}}[[#​MapTools|MapTools]] ​  | [[ThinkGeo.MapSuite.MvcEdition.MapTools|MapTools]] ​  ​| ​   | Gets an object that contains all types of map controls for configuration. ​  | 
-| {{wiki:​PublicProperty.gif|Public Property}}[[#​MapUnit|MapUnit]] ​  | [[ThinkGeo.MapSuite.Core.GeographyUnit|GeographyUnit]] ​  ​| ​   | Gets or sets the GeographyUnit for the map.   | 
-| {{wiki:​PublicProperty.gif|Public Property}}[[#​MarkerOverlay|MarkerOverlay]] ​  | [[ThinkGeo.MapSuite.MvcEdition.InMemoryMarkerOverlay|InMemoryMarkerOverlay]] ​  ​| ​   | Gets an InMemoryMarkerOverlay object that renders markers by the specified features. ​  | 
-| {{wiki:​PublicProperty.gif|Public Property}}[[#​Name|Name]] ​  | String ​  | [[ThinkGeo.MapSuite.MvcEdition.MvcControlBase|MvcControlBase]] ​  | Gets the unique identifier name of the control. ​  | 
-| {{wiki:​PublicProperty.gif|Public Property}}[[#​OnClientBaseOverlayChanged|OnClientBaseOverlayChanged]] ​  | String ​  ​| ​   | Gets or sets the client-side script that executes when the current base overlay changes in the OverlaySwitcher. ​  | 
-| {{wiki:​PublicProperty.gif|Public Property}}[[#​OnClientClick|OnClientClick]] ​  | String ​  ​| ​   | Gets or sets the client-side script that executes when you click on the map.   | 
-| {{wiki:​PublicProperty.gif|Public Property}}[[#​OnClientDoubleClick|OnClientDoubleClick]] ​  | String ​  ​| ​   | Gets or sets the client-side script that executes when you double-click on the map.   | 
-| {{wiki:​PublicProperty.gif|Public Property}}[[#​OnClientDrawEnd|OnClientDrawEnd]] ​  | String ​  ​| ​   | Gets or sets the client-side script that executes whenever a feature is drawn at the client. ​  | 
-| {{wiki:​PublicProperty.gif|Public Property}}[[#​OnClientEditEnd|OnClientEditEnd]] ​  | String ​  ​| ​   | Gets or sets the client-side script that executes whenever you finish editing a shape at the client. ​  | 
-| {{wiki:​PublicProperty.gif|Public Property}}[[#​OnClientExtentChanged|OnClientExtentChanged]] ​  | String ​  ​| ​   | Gets or sets the client-side script that executes when the map extent changes. ​  | 
-| {{wiki:​PublicProperty.gif|Public Property}}[[#​OnClientPopupsRequested|OnClientPopupsRequested]] ​  | String ​  ​| ​   |    | 
-| {{wiki:​PublicProperty.gif|Public Property}}[[#​OnClientPopupsRequesting|OnClientPopupsRequesting]] ​  | String ​  ​| ​   |    | 
-| {{wiki:​PublicProperty.gif|Public Property}}[[#​OnClientTrackShapeFinished|OnClientTrackShapeFinished]] ​  | String ​  ​| ​   | Gets or sets the client-side script that executes after tracking the shape. ​  | 
-| {{wiki:​PublicProperty.gif|Public Property}}[[#​Popups|Popups]] ​  | [[ThinkGeo.MapSuite.MvcEdition.GeoKeyedCollection|GeoKeyedCollection]]<​[[ThinkGeo.MapSuite.MvcEdition.Popup|Popup]]> ​  ​| ​   | Gets a Popup collection that holds all of the popups in the map.   | 
-| {{wiki:​PublicProperty.gif|Public Property}}[[#​ResourceDeploymentMode|ResourceDeploymentMode]] ​  | [[ThinkGeo.MapSuite.MvcEdition.ResourceDeploymentMode|ResourceDeploymentMode]] ​  ​| ​   | Gets or sets a value that indicates whether the application allows map to copy its resource images under "​~/​theme/​default/​img/"​ and a css file "​~/​theme/​default/​style.css"​. The default value is "​ResourceDeploymentMode.Automatically",​ otherwise, you need to copy images to the directory. ​  | 
-| {{wiki:​PublicProperty.gif|Public Property}}[[#​RestrictedExtent|RestrictedExtent]] ​  | [[ThinkGeo.MapSuite.Core.RectangleShape|RectangleShape]] ​  ​| ​   | Gets or sets an extent that limits the area to which the map can be navigated within. ​  | 
-| {{wiki:​PublicProperty.gif|Public Property}}[[#​StaticOverlay|StaticOverlay]] ​  | [[ThinkGeo.MapSuite.MvcEdition.LayerOverlay|LayerOverlay]] ​  ​| ​   | Gets a LayerOverlay object that displays as a background map.   | 
-| {{wiki:​PublicProperty.gif|Public Property}}[[#​StyleSheetFileNames|StyleSheetFileNames]] ​  | Collection<​String> ​  | [[ThinkGeo.MapSuite.MvcEdition.MvcControlBase|MvcControlBase]] ​  | Gets the css files which will be wrote to the client html.   | 
-| {{wiki:​PublicProperty.gif|Public Property}}{{wiki:​Static.gif|Static Member}}[[#​Version|Version]] ​  | String ​  ​| ​   | Gets the version of the map control. ​  | 
-| {{wiki:​PublicProperty.gif|Public Property}}[[#​ViewContext|ViewContext]] ​  | ViewContext ​  | [[ThinkGeo.MapSuite.MvcEdition.MvcControlBase|MvcControlBase]] ​  | Gets the ViewContext of the page which includes the control. ​  | 
-| {{wiki:​PublicProperty.gif|Public Property}}[[#​Visible|Visible]] ​  | Boolean ​  | [[ThinkGeo.MapSuite.MvcEdition.MvcControlBase|MvcControlBase]] ​  | Gets or sets the visibility of the control. ​  | 
-| {{wiki:​PublicProperty.gif|Public Property}}[[#​WebConfigRegisterMode|WebConfigRegisterMode]] ​  | [[ThinkGeo.MapSuite.MvcEdition.WebConfigRegistrationMode|WebConfigRegistrationMode]] ​  ​| ​   | Gets or sets a value that indicates whether the application allows map to register the Web.config on the fly in runtime. The default value is "​WebConfigRegisterMode.AutoRegistered",​ otherwise, you need to copy the code below to the web.config manually. ... ...   | 
-| {{wiki:​PublicProperty.gif|Public Property}}[[#​Width|Width]] ​  | Unit   | [[ThinkGeo.MapSuite.MvcEdition.MvcControlBase|MvcControlBase]] ​  | Gets or sets the width of the control. ​  | 
-| {{wiki:​PublicProperty.gif|Public Property}}[[#​WidthInPixels|WidthInPixels]] ​  | Double ​  ​| ​   | Get the actual width, in pixels, of the map control. ​  | 
-| {{wiki:​PublicProperty.gif|Public Property}}[[#​ZoomLevelSet|ZoomLevelSet]] ​  | [[ThinkGeo.MapSuite.Core.ZoomLevelSet|ZoomLevelSet]] ​  ​| ​   | Gets or sets the ZoomLevelSet applied to the map.   | 
- 
-==== Protected Properties ==== 
-^ Name ^ Return ^ DeclaringType ^ Summary ^ 
-| {{wiki:​ProtectedProperty.gif|Protected Property}}[[#​CenterX|CenterX]] ​  | Double ​  ​| ​   | Gets or sets a double value for center X of current viewport. ​  | 
-| {{wiki:​ProtectedProperty.gif|Protected Property}}[[#​CenterY|CenterY]] ​  | Double ​  ​| ​   | Gets or sets a double value for center Y of current viewport. ​  | 
-| {{wiki:​ProtectedProperty.gif|Protected Property}}[[#​ClientResolutions|ClientResolutions]] ​  | Collection<​Double> ​  ​| ​   | Gets the resolution collection corresponding to the specified ZoomLevelSets applied to the map.   | 
-| {{wiki:​ProtectedProperty.gif|Protected Property}}[[#​ClientScriptManager|ClientScriptManager]] ​  | [[ThinkGeo.MapSuite.MvcEdition.MvcClientScriptManager|MvcClientScriptManager]] ​  | [[ThinkGeo.MapSuite.MvcEdition.MvcControlBase|MvcControlBase]] ​  | Gets the object which is used for managing, registering the client scripts. ​  | 
-| {{wiki:​ProtectedProperty.gif|Protected Property}}[[#​ClientStyleSheetManager|ClientStyleSheetManager]] ​  | [[ThinkGeo.MapSuite.MvcEdition.MvcClientStyleSheetManager|MvcClientStyleSheetManager]] ​  | [[ThinkGeo.MapSuite.MvcEdition.MvcControlBase|MvcControlBase]] ​  | Gets the object which is used for managing, registering the css files used by the control. ​  | 
-| {{wiki:​ProtectedProperty.gif|Protected Property}}[[#​MaxExtent|MaxExtent]] ​  | [[ThinkGeo.MapSuite.Core.RectangleShape|RectangleShape]] ​  ​| ​   |    | 
-| {{wiki:​ProtectedProperty.gif|Protected Property}}[[#​PageRootPath|PageRootPath]] ​  | String ​  ​| ​   | Gets a string value indicats the web page's root path for loading the default icons. ​  | 
- 
-==== Public Events ==== 
-^ Name ^ Event Arguments ^ DeclaringType ^ Summary ^ 
- 
-===== Public Constructors ===== 
-==== Map() ==== 
-Initializes a new instance of the Map class. 
-=== Overloads === 
-Initializes a new instance of the Map class. 
-=== Parameters === 
-^  Name ^  Type ^  Description ^ 
- 
-[[#Public Constructors|Go Back]] 
-==== Map(String) ==== 
-Initializes a new instance of the Map class with identifier. 
-=== Overloads === 
-The unique identifier name of the control. 
-=== Parameters === 
-^  Name ^  Type ^  Description ^ 
-| name   | String<​!-- System.String --> ​  ​| ​   | 
- 
-[[#Public Constructors|Go Back]] 
-==== Map(String, Unit, Unit) ==== 
-Initializes a new instance of the Map class with identifier, map width, and map height specified. 
-=== Overloads === 
-Initializes a new instance of the Map class. 
-=== Parameters === 
-^  Name ^  Type ^  Description ^ 
-| name   | String<​!-- System.String --> ​  ​| ​   | 
-| width   | Unit<!-- System.Web.UI.WebControls.Unit --> ​  ​| ​   | 
-| height ​  | Unit<!-- System.Web.UI.WebControls.Unit --> ​  ​| ​   | 
- 
-[[#Public Constructors|Go Back]] 
-===== Protected Constructors ===== 
-===== Public Methods ===== 
-==== CenterAt(PointShape) ==== 
-Moves the center of the map to a specified point.. 
-=== Overloads === 
-Moves the center of the map to a specified destination. 
-=== Return Value === 
-^ Return Type ^ Description ^ 
-| Void<!-- System.Void --> ​  ​| ​   | 
- 
-=== Parameters === 
-^  Name ^  Type ^  Description ^ 
-| worldPoint ​  | [[ThinkGeo.MapSuite.Core.PointShape|PointShape]]<​!-- ThinkGeo.MapSuite.Core.PointShape --> ​  | The target point in world coordinates to set as the center of the map's CurrentExtent. ​  | 
- 
-<!-- ThinkGeo.MapSuite.MvcEdition.Map --> 
-[[#Public Methods|Go Back]] 
-==== CenterAt(Double,​ Double) ==== 
-Moves the center of the map to a point specified by the provided X, Y world coordinates. 
-=== Overloads === 
-Moves the center of the map to a specified destination. 
-=== Remarks === 
-This method changes the map center to a point specified by the X, Y coordinates you provide. 
-=== Return Value === 
-^ Return Type ^ Description ^ 
-| Void<!-- System.Void --> ​  ​| ​   | 
- 
-=== Parameters === 
-^  Name ^  Type ^  Description ^ 
-| worldX ​  | Double<​!-- System.Double --> ​  | The X-value in world coordinates of the new center. ​  | 
-| worldY ​  | Double<​!-- System.Double --> ​  | The Y-value in world coordinates of the new center. ​  | 
- 
-<!-- ThinkGeo.MapSuite.MvcEdition.Map --> 
-[[#Public Methods|Go Back]] 
-==== Equals(Object) ==== 
-=== Return Value === 
-^ Return Type ^ Description ^ 
-| Boolean<​!-- System.Boolean --> ​  ​| ​   | 
- 
-=== Parameters === 
-^  Name ^  Type ^  Description ^ 
-| obj   | Object<​!-- System.Object --> ​  ​| ​   | 
- 
-<!-- System.Object --> 
-[[#Public Methods|Go Back]] 
-==== Fill(String,​ String) ==== 
-Fill an instance based on the input model name according to the input entity string 
-=== Return Value === 
-^ Return Type ^ Description ^ 
-| Void<!-- System.Void --> ​  ​| ​   | 
- 
-=== Parameters === 
-^  Name ^  Type ^  Description ^ 
-| modelName ​  | String<​!-- System.String --> ​  | the input model name   | 
-| entityString ​  | String<​!-- System.String --> ​  | the input entity string ​  | 
- 
-<!-- ThinkGeo.MapSuite.MvcEdition.MvcControlBase --> 
-[[#Public Methods|Go Back]] 
-==== Fill(String) ==== 
-Fill an instance according to the input entity string 
-=== Return Value === 
-^ Return Type ^ Description ^ 
-| Void<!-- System.Void --> ​  ​| ​   | 
- 
-=== Parameters === 
-^  Name ^  Type ^  Description ^ 
-| entityString ​  | String<​!-- System.String --> ​  | the inpu entity string. ​  | 
- 
-<!-- ThinkGeo.MapSuite.MvcEdition.MvcControlBase --> 
-[[#Public Methods|Go Back]] 
-==== FromJson(String) ==== 
-Load this object from a json string. 
-=== Return Value === 
-^ Return Type ^ Description ^ 
-| Void<!-- System.Void --> ​  ​| ​   | 
- 
-=== Parameters === 
-^  Name ^  Type ^  Description ^ 
-| jsonString ​  | String<​!-- System.String --> ​  | a json string ​  | 
- 
-<!-- ThinkGeo.MapSuite.MvcEdition.Map --> 
-[[#Public Methods|Go Back]] 
-==== GetBitmap() ==== 
-Save this object to a bitmap 
-=== Return Value === 
-^ Return Type ^ Description ^ 
-| Bitmap<​!-- System.Drawing.Bitmap --> ​  | a bitmap ​  | 
- 
-=== Parameters === 
-^  Name ^  Type ^  Description ^ 
- 
-<!-- ThinkGeo.MapSuite.MvcEdition.Map --> 
-[[#Public Methods|Go Back]] 
-==== GetBitmap(Int32,​ Int32) ==== 
-Gets a bitmap image based on the current map settings with the specified width and height. 
-=== Overloads === 
-Gets a bitmap image of the map. 
-=== Remarks === 
-This method generates a bitmap map image with the current map settings, using the image width and height that you specify. 
-=== Return Value === 
-^ Return Type ^ Description ^ 
-| Bitmap<​!-- System.Drawing.Bitmap --> ​  | A bitmap that is generated base on the current map settings. ​  | 
- 
-=== Parameters === 
-^  Name ^  Type ^  Description ^ 
-| width   | Int32<​!-- System.Int32 --> ​  | The width of bitmap. ​  | 
-| height ​  | Int32<​!-- System.Int32 --> ​  | The height of bitmap. ​  | 
- 
-<!-- ThinkGeo.MapSuite.MvcEdition.Map --> 
-[[#Public Methods|Go Back]] 
-==== GetHashCode() ==== 
-=== Return Value === 
-^ Return Type ^ Description ^ 
-| Int32<​!-- System.Int32 --> ​  ​| ​   | 
- 
-=== Parameters === 
-^  Name ^  Type ^  Description ^ 
- 
-<!-- System.Object --> 
-[[#Public Methods|Go Back]] 
-==== GetScreenDistanceBetweenTwoWorldPoints(PointShape,​ PointShape) ==== 
-Gets the distance in pixels between two specified points in world coordinates. 
-=== Return Value === 
-^ Return Type ^ Description ^ 
-| Single<​!-- System.Single --> ​  | The lengh in pixels between the two points. ​  | 
- 
-=== Parameters === 
-^  Name ^  Type ^  Description ^ 
-| startPoint ​  | [[ThinkGeo.MapSuite.Core.PointShape|PointShape]]<​!-- ThinkGeo.MapSuite.Core.PointShape --> ​  | The first point in world coordinates. ​  | 
-| endpoint ​  | [[ThinkGeo.MapSuite.Core.PointShape|PointShape]]<​!-- ThinkGeo.MapSuite.Core.PointShape --> ​  | The second point in world coordinates. ​  | 
- 
-<!-- ThinkGeo.MapSuite.MvcEdition.Map --> 
-[[#Public Methods|Go Back]] 
-==== GetType() ==== 
-=== Return Value === 
-^ Return Type ^ Description ^ 
-| Type<!-- System.Type --> ​  ​| ​   | 
- 
-=== Parameters === 
-^  Name ^  Type ^  Description ^ 
- 
-<!-- System.Object --> 
-[[#Public Methods|Go Back]] 
-==== GetWorldDistanceBetweenTwoScreenPoints(ScreenPointF,​ ScreenPointF,​ DistanceUnit) ==== 
-Gets the distance in the specified distance unit from two screen points. 
-=== Return Value === 
-^ Return Type ^ Description ^ 
-| Double<​!-- System.Double --> ​  | The distance value in the specified unit between two screen points. ​  | 
- 
-=== Parameters === 
-^  Name ^  Type ^  Description ^ 
-| startPoint ​  | [[ThinkGeo.MapSuite.Core.ScreenPointF|ScreenPointF]]<​!-- ThinkGeo.MapSuite.Core.ScreenPointF --> ​  | The first point in screen coordinates. ​  | 
-| endpoint ​  | [[ThinkGeo.MapSuite.Core.ScreenPointF|ScreenPointF]]<​!-- ThinkGeo.MapSuite.Core.ScreenPointF --> ​  | The second point in screen coordinates. ​  | 
-| unitOfDistance ​  | [[ThinkGeo.MapSuite.Core.DistanceUnit|DistanceUnit]]<​!-- ThinkGeo.MapSuite.Core.DistanceUnit --> ​  | The unit of return distance. ​  | 
- 
-<!-- ThinkGeo.MapSuite.MvcEdition.Map --> 
-[[#Public Methods|Go Back]] 
-==== Pan(PanDirection,​ Int32) ==== 
-Moves the map by the specified direction and percentage of the current extent. 
-=== Overloads === 
-Moves the map by a certain offset. 
-=== Remarks === 
-This method caculates the panning offset by the current extent and the percentage. If the percentage is 20, the panning offset in the X direction is <​strong>​CurrentExtent.Width* 0.2</​strong>​ and the offset in the Y direction is <​strong>​CurrentExtent.Hight*0.2</​strong>​. 
-=== Return Value === 
-^ Return Type ^ Description ^ 
-| Void<!-- System.Void --> ​  ​| ​   | 
- 
-=== Parameters === 
-^  Name ^  Type ^  Description ^ 
-| panDirection ​  | [[ThinkGeo.MapSuite.Core.PanDirection|PanDirection]]<​!-- ThinkGeo.MapSuite.Core.PanDirection --> ​  | Up, Down, Left, Right, UpperRight, LowerRight, UpperLeft, LowerLeft. ​  | 
-| percentage ​  | Int32<​!-- System.Int32 --> ​  | The percentage of the current extent. ​  | 
- 
-<!-- ThinkGeo.MapSuite.MvcEdition.Map --> 
-[[#Public Methods|Go Back]] 
-==== Pan(Single, Int32) ==== 
-Moves the map by the specified angle and the percentage of the current extent. 
-=== Overloads === 
-Moves the map by a certain offset. 
-=== Remarks === 
-This method moves the map by the angle and the percentage that you specify. 
- 
-The angle starts from the east and increases counterclockwise. For example, angle 0 represents precisely east and angle 90 represents precisely north. 
- 
-The percentage specifies the offset related to the current extent. If the percentage is 20, the panning offset in the X direction is <​strong>​CurrentExtent.Width* 0.2</​strong>​ and the offset in the Y direction is <​strong>​CurrentExtent.Hight*0.2</​strong>​. 
-=== Return Value === 
-^ Return Type ^ Description ^ 
-| Void<!-- System.Void --> ​  ​| ​   | 
- 
-=== Parameters === 
-^  Name ^  Type ^  Description ^ 
-| degree ​  | Single<​!-- System.Single --> ​  | The angle value that determines the panning direction. ​  | 
-| percentage ​  | Int32<​!-- System.Int32 --> ​  | The percentage of the current extent. ​  | 
- 
-<!-- ThinkGeo.MapSuite.MvcEdition.Map --> 
-[[#Public Methods|Go Back]] 
-==== ToScreenCoordinate(PointShape) ==== 
-Returns a screen point from a point shape in world coordinates. 
-=== Overloads === 
-Returns a screen point that is converted from the specified world coordinates. 
-=== Remarks === 
-This method converts the coordinates of a point shape to a point in screen coordinates. 
-=== Return Value === 
-^ Return Type ^ Description ^ 
-| [[ThinkGeo.MapSuite.Core.ScreenPointF|ScreenPointF]]<​!-- ThinkGeo.MapSuite.Core.ScreenPointF --> ​  | A screen point in pixels. ​  | 
- 
-=== Parameters === 
-^  Name ^  Type ^  Description ^ 
-| worldPoint ​  | [[ThinkGeo.MapSuite.Core.PointShape|PointShape]]<​!-- ThinkGeo.MapSuite.Core.PointShape --> ​  | A point shape in world coordinates. ​  | 
- 
-<!-- ThinkGeo.MapSuite.MvcEdition.Map --> 
-[[#Public Methods|Go Back]] 
-==== ToScreenCoordinate(Double,​ Double) ==== 
-Returns a point shape in screen coordinates from the specified X, Y world coordinates. 
-=== Overloads === 
-Returns a screen point that is converted from the specified world coordinates. 
-=== Remarks === 
-This method converts X, Y world coordinates to a point in screen coordinates. 
-=== Return Value === 
-^ Return Type ^ Description ^ 
-| [[ThinkGeo.MapSuite.Core.ScreenPointF|ScreenPointF]]<​!-- ThinkGeo.MapSuite.Core.ScreenPointF --> ​  | A screen point in pixels. ​  | 
- 
-=== Parameters === 
-^  Name ^  Type ^  Description ^ 
-| worldX ​  | Double<​!-- System.Double --> ​  | The X world coordinate. ​  | 
-| worldY ​  | Double<​!-- System.Double --> ​  | The Y world coordinate. ​  | 
- 
-<!-- ThinkGeo.MapSuite.MvcEdition.Map --> 
-[[#Public Methods|Go Back]] 
-==== ToString(String) ==== 
-Convert current object based on mode name to an entity string. 
-=== Return Value === 
-^ Return Type ^ Description ^ 
-| String<​!-- System.String --> ​  | an entity string ​  | 
- 
-=== Parameters === 
-^  Name ^  Type ^  Description ^ 
-| modelName ​  | String<​!-- System.String --> ​  | model name   | 
- 
-<!-- ThinkGeo.MapSuite.MvcEdition.MvcControlBase --> 
-[[#Public Methods|Go Back]] 
-==== ToString() ==== 
-=== Return Value === 
-^ Return Type ^ Description ^ 
-| String<​!-- System.String --> ​  ​| ​   | 
- 
-=== Parameters === 
-^  Name ^  Type ^  Description ^ 
- 
-<!-- System.Object(overriden) --> 
-[[#Public Methods|Go Back]] 
-==== ToWorldCoordinate(ScreenPointF) ==== 
-Returns a point shape in world coordinates from a ScreenPointF structure. 
-=== Overloads === 
-Returns a point shape in world coordinates from screen coordinates. 
-=== Remarks === 
-This method converts a screen point to a point in world coordinates. 
-=== Return Value === 
-^ Return Type ^ Description ^ 
-| [[ThinkGeo.MapSuite.Core.PointShape|PointShape]]<​!-- ThinkGeo.MapSuite.Core.PointShape --> ​  | A point shape in world coordinates. ​  | 
- 
-=== Parameters === 
-^  Name ^  Type ^  Description ^ 
-| screenPoint ​  | [[ThinkGeo.MapSuite.Core.ScreenPointF|ScreenPointF]]<​!-- ThinkGeo.MapSuite.Core.ScreenPointF --> ​  | The point (in screen coordinates) to convert to world coordinates. ​  | 
- 
-<!-- ThinkGeo.MapSuite.MvcEdition.Map --> 
-[[#Public Methods|Go Back]] 
-==== ToWorldCoordinate(Single,​ Single) ==== 
-Returns a point shape in world coordinates from the specified X, Y screen coordinates. 
-=== Overloads === 
-Returns a point shape in world coordinates from the specified screen coordinates. 
-=== Remarks === 
-This method converts X, Y screen coordinates to a point shape in world coodinates. 
-=== Return Value === 
-^ Return Type ^ Description ^ 
-| [[ThinkGeo.MapSuite.Core.PointShape|PointShape]]<​!-- ThinkGeo.MapSuite.Core.PointShape --> ​  | A point shape in world coordinates. ​  | 
- 
-=== Parameters === 
-^  Name ^  Type ^  Description ^ 
-| screenX ​  | Single<​!-- System.Single --> ​  | The X-value in pixels referenced to the screen origin. ​  | 
-| screenY ​  | Single<​!-- System.Single --> ​  | The Y-value in pixels referenced to the screen origin. ​  | 
- 
-<!-- ThinkGeo.MapSuite.MvcEdition.Map --> 
-[[#Public Methods|Go Back]] 
-==== ZoomIn() ==== 
-Zooms the map in to the next zoomlevel. 
-=== Return Value === 
-^ Return Type ^ Description ^ 
-| Void<!-- System.Void --> ​  ​| ​   | 
- 
-=== Parameters === 
-^  Name ^  Type ^  Description ^ 
- 
-<!-- ThinkGeo.MapSuite.MvcEdition.Map --> 
-[[#Public Methods|Go Back]] 
-==== ZoomOut() ==== 
-Zooms the map out to the next zoomlevel. 
-=== Return Value === 
-^ Return Type ^ Description ^ 
-| Void<!-- System.Void --> ​  ​| ​   | 
- 
-=== Parameters === 
-^  Name ^  Type ^  Description ^ 
- 
-<!-- ThinkGeo.MapSuite.MvcEdition.Map --> 
-[[#Public Methods|Go Back]] 
-==== ZoomTo(PointShape,​ Double) ==== 
-Zooms the map to the center point and the scale that you specify. 
-=== Remarks === 
-The map will be panned to the new center and zoomed to the scale that you specify. If the new scale is not within the scales of the zoomlevels, the map will snap to the nearest upper zoomlevel. Thus, the scale the map finally zooms to may not be exactly the same as the scale you specified. 
-=== Return Value === 
-^ Return Type ^ Description ^ 
-| Void<!-- System.Void --> ​  ​| ​   | 
- 
-=== Parameters === 
-^  Name ^  Type ^  Description ^ 
-| center ​  | [[ThinkGeo.MapSuite.Core.PointShape|PointShape]]<​!-- ThinkGeo.MapSuite.Core.PointShape --> ​  | The new center point of the map.   | 
-| scale   | Double<​!-- System.Double --> ​  | The new scale that the map will zoom to.   | 
- 
-<!-- ThinkGeo.MapSuite.MvcEdition.Map --> 
-[[#Public Methods|Go Back]] 
-==== ZoomToMarkers(IEnumerable<​Marker>​) ==== 
-Changes the current extent to the extent that includes all of the markers passed in. 
-=== Remarks === 
-This method changes the map's current extent to the smallest BoundingBox that includes all of the markers you specified. 
-=== Return Value === 
-^ Return Type ^ Description ^ 
-| Void<!-- System.Void --> ​  ​| ​   | 
- 
-=== Parameters === 
-^  Name ^  Type ^  Description ^ 
-| markers ​  | IEnumerable<​[[ThinkGeo.MapSuite.MvcEdition.Marker|Marker]]><​!-- System.Collections.Generic.IEnumerable{ThinkGeo.MapSuite.MvcEdition.Marker} --> ​  | The markers that will be included in the new extent. ​  | 
- 
-<!-- ThinkGeo.MapSuite.MvcEdition.Map --> 
-[[#Public Methods|Go Back]] 
-==== ZoomToScale(Double) ==== 
-Zoom the map to a specific scale. 
-=== Remarks === 
-This method will not affect the center of the map. It zooms the map to the zoomlevel whose scale is larger and nearest to the scale specified. For example, if you specify a scale that is between two zoomlevels, the map will snap to the nearest upper zoomlevel. So the map's final scale might not be equal to the specified scale after you call this method. 
-=== Return Value === 
-^ Return Type ^ Description ^ 
-| Void<!-- System.Void --> ​  ​| ​   | 
- 
-=== Parameters === 
-^  Name ^  Type ^  Description ^ 
-| targetScale ​  | Double<​!-- System.Double --> ​  | The scale the map will zoom to.   | 
- 
-<!-- ThinkGeo.MapSuite.MvcEdition.Map --> 
-[[#Public Methods|Go Back]] 
-===== Protected Methods ===== 
-==== Finalize() ==== 
-=== Return Value === 
-^ Return Type ^ Description ^ 
-| Void<!-- System.Void --> ​  ​| ​   | 
- 
-=== Parameters === 
-^  Name ^  Type ^  Description ^ 
- 
-<!-- System.Object --> 
-[[#​Protected Methods|Go Back]] 
-==== MemberwiseClone() ==== 
-=== Return Value === 
-^ Return Type ^ Description ^ 
-| Object<​!-- System.Object --> ​  ​| ​   | 
- 
-=== Parameters === 
-^  Name ^  Type ^  Description ^ 
- 
-<!-- System.Object --> 
-[[#​Protected Methods|Go Back]] 
-===== Public Properties ===== 
-==== ActiveBaseOverlay ==== 
-Gets or sets the active base overlay. 
-=== Remarks === 
-The map can contain multiple base overlays, though only one of them can be displayed at a time. The <​strong>​ActiveBaseOverlay</​strong>​ property specifies the one that is currently displayed. When you switch the base overlays in the <​strong>​OverlaySwitcher</​strong>,​ the currently selected overlay will be synchronized to this property after postback. 
-=== Return Value === 
-^ Return Type ^ 
-| [[ThinkGeo.MapSuite.MvcEdition.Overlay|Overlay]]<​!-- ThinkGeo.MapSuite.MvcEdition.Overlay --> ​  | 
- 
-<!-- ThinkGeo.MapSuite.MvcEdition.Map --> 
-[[#Public Properties|Go Back]] 
-==== AdornmentOverlay ==== 
-This property gets or sets the adornment overlay in the MapControl. 
-=== Return Value === 
-^ Return Type ^ 
-| [[ThinkGeo.MapSuite.MvcEdition.AdornmentOverlay|AdornmentOverlay]]<​!-- ThinkGeo.MapSuite.MvcEdition.AdornmentOverlay --> ​  | 
- 
-<!-- ThinkGeo.MapSuite.MvcEdition.Map --> 
-[[#Public Properties|Go Back]] 
-==== BackgroundOverlay ==== 
-Gets or sets an Overlay object that displays as the background map by default. 
-=== Remarks === 
-The background overlay is one of the base overlays of the map. It can only be the base overlay. If you set a non-base overlay to it, there will be an exception thrown. The background overlay is the active base overlay by default, if you do not set the <​strong>​ActiveBaseOverlay</​strong>​ property. 
-=== Return Value === 
-^ Return Type ^ 
-| [[ThinkGeo.MapSuite.MvcEdition.Overlay|Overlay]]<​!-- ThinkGeo.MapSuite.MvcEdition.Overlay --> ​  | 
- 
-<!-- ThinkGeo.MapSuite.MvcEdition.Map --> 
-[[#Public Properties|Go Back]] 
-==== ClientScriptBlocks ==== 
-Gets the client script blocks which will be registered to the page. 
-=== Return Value === 
-^ Return Type ^ 
-| Dictionary<​String,​String><​!-- System.Collections.Generic.Dictionary{System.String,​System.String} --> ​  | 
- 
-<!-- ThinkGeo.MapSuite.MvcEdition.MvcControlBase --> 
-[[#Public Properties|Go Back]] 
-==== ClientScriptFileNames ==== 
-Gets the client script files which will be registered to the page. 
-=== Return Value === 
-^ Return Type ^ 
-| Dictionary<​String,​String><​!-- System.Collections.Generic.Dictionary{System.String,​System.String} --> ​  | 
- 
-<!-- ThinkGeo.MapSuite.MvcEdition.MvcControlBase --> 
-[[#Public Properties|Go Back]] 
-==== ContextMenu ==== 
-Gets or sets the shortcut menu associated with the map. 
-=== Return Value === 
-^ Return Type ^ 
-| [[ThinkGeo.MapSuite.MvcEdition.ContextMenu|ContextMenu]]<​!-- ThinkGeo.MapSuite.MvcEdition.ContextMenu --> ​  | 
- 
-<!-- ThinkGeo.MapSuite.MvcEdition.Map --> 
-[[#Public Properties|Go Back]] 
-==== CurrentExtent ==== 
-Gets or sets the current extent of the map. 
-=== Return Value === 
-^ Return Type ^ 
-| [[ThinkGeo.MapSuite.Core.RectangleShape|RectangleShape]]<​!-- ThinkGeo.MapSuite.Core.RectangleShape --> ​  | 
- 
-<!-- ThinkGeo.MapSuite.MvcEdition.Map --> 
-[[#Public Properties|Go Back]] 
-==== CurrentScale ==== 
-Gets or sets a double value that indicates the current scale of the map. 
-=== Return Value === 
-^ Return Type ^ 
-| Double<​!-- System.Double --> ​  | 
- 
-<!-- ThinkGeo.MapSuite.MvcEdition.Map --> 
-[[#Public Properties|Go Back]] 
-==== Cursor ==== 
-Gets or sets the cursor that appears when the mouse pointer is over the map control. 
-=== Return Value === 
-^ Return Type ^ 
-| [[ThinkGeo.MapSuite.MvcEdition.CursorType|CursorType]]<​!-- ThinkGeo.MapSuite.MvcEdition.CursorType --> ​  | 
- 
-<!-- ThinkGeo.MapSuite.MvcEdition.Map --> 
-[[#Public Properties|Go Back]] 
-==== CustomCursorUri ==== 
-Gets and sets a custom cursor image URI for the mouse cursor to use when you select '​CursorType.Custom'​. 
-=== Return Value === 
-^ Return Type ^ 
-| Uri<!-- System.Uri --> ​  | 
- 
-<!-- ThinkGeo.MapSuite.MvcEdition.Map --> 
-[[#Public Properties|Go Back]] 
-==== CustomOverlays ==== 
-Gets an Overlay collection, into which you can add different types of overlays. 
-=== Remarks === 
-You can create any type of Overlay object and add it to the CustomOverlays collection. The CustomOverlays collection will disable the BackgroundOverlay,​ StaticOverlay,​ DynamicOverlay and MarkerOverlay properties. This means you have two options for using overlays: Either set those overlay properties, or use the CustomOverlays collection. The CustomOverlays collection has higher priority and is more flexible. By contrast, the overlay properties act as shortcut way to use overlays. 
-=== Return Value === 
-^ Return Type ^ 
-| [[ThinkGeo.MapSuite.MvcEdition.GeoKeyedCollection|GeoKeyedCollection]]<​[[ThinkGeo.MapSuite.MvcEdition.Overlay|Overlay]]><​!-- ThinkGeo.MapSuite.MvcEdition.GeoKeyedCollection{ThinkGeo.MapSuite.MvcEdition.Overlay} --> ​  | 
- 
-<!-- ThinkGeo.MapSuite.MvcEdition.Map --> 
-[[#Public Properties|Go Back]] 
-==== DynamicOverlay ==== 
-Gets a LayerOverlay object that can overlap other overlays. 
-=== Return Value === 
-^ Return Type ^ 
-| [[ThinkGeo.MapSuite.MvcEdition.LayerOverlay|LayerOverlay]]<​!-- ThinkGeo.MapSuite.MvcEdition.LayerOverlay --> ​  | 
- 
-<!-- ThinkGeo.MapSuite.MvcEdition.Map --> 
-[[#Public Properties|Go Back]] 
-==== EditOverlay ==== 
-Gets an EditOverlay object, with which you can draw and edit shapes at the client. 
-=== Return Value === 
-^ Return Type ^ 
-| [[ThinkGeo.MapSuite.MvcEdition.EditFeatureOverlay|EditFeatureOverlay]]<​!-- ThinkGeo.MapSuite.MvcEdition.EditFeatureOverlay --> ​  | 
- 
-<!-- ThinkGeo.MapSuite.MvcEdition.Map --> 
-[[#Public Properties|Go Back]] 
-==== GeoCanvas ==== 
-=== Return Value === 
-^ Return Type ^ 
-| [[ThinkGeo.MapSuite.Core.GeoCanvas|GeoCanvas]]<​!-- ThinkGeo.MapSuite.Core.GeoCanvas --> ​  | 
- 
-<!-- ThinkGeo.MapSuite.MvcEdition.Map --> 
-[[#Public Properties|Go Back]] 
-==== Height ==== 
-Gets or sets the height of the control. 
-=== Return Value === 
-^ Return Type ^ 
-| Unit<!-- System.Web.UI.WebControls.Unit --> ​  | 
- 
-<!-- ThinkGeo.MapSuite.MvcEdition.MvcControlBase --> 
-[[#Public Properties|Go Back]] 
-==== HeightInPixels ==== 
-Get the actual height, in pixels, of the map control. 
-=== Remarks === 
-When you set your map's height with percentage values (for example, 100%), you might want to know the actual pixel height of your map at a given time. This property returns the map's pixel height as determined by the browser. 
- 
-<​strong>​Note:</​strong>​ When the map height is a percent value, the <​strong>​HeightInPixels</​strong>​ is double.NaN only until a postback generates. When the page postbacks, the actual height of the map will be synchronized to this property. 
-=== Return Value === 
-^ Return Type ^ 
-| Double<​!-- System.Double --> ​  | 
- 
-<!-- ThinkGeo.MapSuite.MvcEdition.Map --> 
-[[#Public Properties|Go Back]] 
-==== HighlightOverlay ==== 
-Gets an HighlightFeatureOverlay object, which draws its features at the client side and can attach the specified click event and context menu to them. 
-=== Remarks === 
-The HighlightOverlay actually serializes all its features to the client for drawing. These are client features whose styles changes when you mouse over them, thus generating the mouse-over highlight effect. 
- 
-<​strong>​Note:</​strong>​ Performance may be slow when the features added to the HighlightOverlay contain many vertices, because serializing and drawing these features at the client side may take some time. 
-=== Return Value === 
-^ Return Type ^ 
-| [[ThinkGeo.MapSuite.MvcEdition.HighlightFeatureOverlay|HighlightFeatureOverlay]]<​!-- ThinkGeo.MapSuite.MvcEdition.HighlightFeatureOverlay --> ​  | 
- 
-<!-- ThinkGeo.MapSuite.MvcEdition.Map --> 
-[[#Public Properties|Go Back]] 
-==== HtmlAttributes ==== 
-Gets the customized html attributes of the control. 
-=== Return Value === 
-^ Return Type ^ 
-| Dictionary<​String,​String><​!-- System.Collections.Generic.Dictionary{System.String,​System.String} --> ​  | 
- 
-<!-- ThinkGeo.MapSuite.MvcEdition.MvcControlBase --> 
-[[#Public Properties|Go Back]] 
-==== Id ==== 
-Gets the client id of the control, it will be calculated from Name property. 
-=== Return Value === 
-^ Return Type ^ 
-| String<​!-- System.String --> ​  | 
- 
-<!-- ThinkGeo.MapSuite.MvcEdition.MvcControlBase --> 
-[[#Public Properties|Go Back]] 
-==== IsDefaultJavascriptLibraryDisabled ==== 
-Gets or sets whether the default javascript library is disabled or not. 
-=== Return Value === 
-^ Return Type ^ 
-| Boolean<​!-- System.Boolean --> ​  | 
- 
-<!-- ThinkGeo.MapSuite.MvcEdition.Map --> 
-[[#Public Properties|Go Back]] 
-==== MapBackground ==== 
-Gets or sets the BackgroundLayer object that paints the map background. 
-=== Remarks === 
-This property determines the background of the map. The map will use the brush defined on this BackgroundLayer to paint the background. 
-=== Return Value === 
-^ Return Type ^ 
-| [[ThinkGeo.MapSuite.Core.BackgroundLayer|BackgroundLayer]]<​!-- ThinkGeo.MapSuite.Core.BackgroundLayer --> ​  | 
- 
-<!-- ThinkGeo.MapSuite.MvcEdition.Map --> 
-[[#Public Properties|Go Back]] 
-==== MapTools ==== 
-Gets an object that contains all types of map controls for configuration. 
-=== Return Value === 
-^ Return Type ^ 
-| [[ThinkGeo.MapSuite.MvcEdition.MapTools|MapTools]]<​!-- ThinkGeo.MapSuite.MvcEdition.MapTools --> ​  | 
- 
-<!-- ThinkGeo.MapSuite.MvcEdition.Map --> 
-[[#Public Properties|Go Back]] 
-==== MapUnit ==== 
-Gets or sets the GeographyUnit for the map. 
-=== Return Value === 
-^ Return Type ^ 
-| [[ThinkGeo.MapSuite.Core.GeographyUnit|GeographyUnit]]<​!-- ThinkGeo.MapSuite.Core.GeographyUnit --> ​  | 
- 
-<!-- ThinkGeo.MapSuite.MvcEdition.Map --> 
-[[#Public Properties|Go Back]] 
-==== MarkerOverlay ==== 
-Gets an InMemoryMarkerOverlay object that renders markers by the specified features. 
-=== Remarks === 
-The MarkerOverlay overlaps on the base overlay and other non-base overlays. It displays markers based on the features you add to it. If you want to render markers by feature source, use the FeatureSourceMarkerOverlay and add it to the CustomOverlays collection. 
-=== Return Value === 
-^ Return Type ^ 
-| [[ThinkGeo.MapSuite.MvcEdition.InMemoryMarkerOverlay|InMemoryMarkerOverlay]]<​!-- ThinkGeo.MapSuite.MvcEdition.InMemoryMarkerOverlay --> ​  | 
- 
-<!-- ThinkGeo.MapSuite.MvcEdition.Map --> 
-[[#Public Properties|Go Back]] 
-==== Name ==== 
-Gets the unique identifier name of the control. 
-=== Return Value === 
-^ Return Type ^ 
-| String<​!-- System.String --> ​  | 
- 
-<!-- ThinkGeo.MapSuite.MvcEdition.MvcControlBase --> 
-[[#Public Properties|Go Back]] 
-==== OnClientBaseOverlayChanged ==== 
-Gets or sets the client-side script that executes when the current base overlay changes in the OverlaySwitcher. 
-=== Remarks === 
-There is a default parameter: e, which includes a parameter "​baseLayer"​ which is the name of the layer 
-=== Return Value === 
-^ Return Type ^ 
-| String<​!-- System.String --> ​  | 
- 
-<!-- ThinkGeo.MapSuite.MvcEdition.Map --> 
-[[#Public Properties|Go Back]] 
-==== OnClientClick ==== 
-Gets or sets the client-side script that executes when you click on the map. 
-=== Remarks === 
-There is a default parameter:​e,​ which includes one parameter: "​worldXY"​ 
-=== Return Value === 
-^ Return Type ^ 
-| String<​!-- System.String --> ​  | 
- 
-<!-- ThinkGeo.MapSuite.MvcEdition.Map --> 
-[[#Public Properties|Go Back]] 
-==== OnClientDoubleClick ==== 
-Gets or sets the client-side script that executes when you double-click on the map. 
-=== Remarks === 
-There is a default parameter:​e,​ which includes one parameter: "​worldXY"​ 
-=== Return Value === 
-^ Return Type ^ 
-| String<​!-- System.String --> ​  | 
- 
-<!-- ThinkGeo.MapSuite.MvcEdition.Map --> 
-[[#Public Properties|Go Back]] 
-==== OnClientDrawEnd ==== 
-Gets or sets the client-side script that executes whenever a feature is drawn at the client. 
-=== Remarks === 
-The <​strong>​OnClientDrawEnd</​strong>​ property holds the Javascript function that will be executed whenever you finish drawing a shape. The Javascript function takes one parameter, which is the feature that you just drew. You can use this parameter to add extra data to the feature (add to feature.fieldValues). You can then retrieve that extra data from the feature'​s ColumnValues collection after postback. 
-=== Return Value === 
-^ Return Type ^ 
-| String<​!-- System.String --> ​  | 
- 
-<!-- ThinkGeo.MapSuite.MvcEdition.Map --> 
-[[#Public Properties|Go Back]] 
-==== OnClientEditEnd ==== 
-Gets or sets the client-side script that executes whenever you finish editing a shape at the client. 
-=== Remarks === 
-The <​strong>​OnClientEditEnd</​strong>​ property holds the Javascript function that will be executed whenever you finish editing a shape. The Javascript function takes one parameter, which is the feature that you just edited. You can use this parameter to edit the extra data of the feature (feature.fieldValues). You can then retrieve that extra data from the feature'​s ColumnValues collection after postback. 
-=== Return Value === 
-^ Return Type ^ 
-| String<​!-- System.String --> ​  | 
- 
-<!-- ThinkGeo.MapSuite.MvcEdition.Map --> 
-[[#Public Properties|Go Back]] 
-==== OnClientExtentChanged ==== 
-Gets or sets the client-side script that executes when the map extent changes. 
-=== Remarks === 
-There is a default parameter: e, which includes two parameters, "​extent",​ "​scale"​ 
-=== Return Value === 
-^ Return Type ^ 
-| String<​!-- System.String --> ​  | 
- 
-<!-- ThinkGeo.MapSuite.MvcEdition.Map --> 
-[[#Public Properties|Go Back]] 
-==== OnClientPopupsRequested ==== 
-=== Return Value === 
-^ Return Type ^ 
-| String<​!-- System.String --> ​  | 
- 
-<!-- ThinkGeo.MapSuite.MvcEdition.Map --> 
-[[#Public Properties|Go Back]] 
-==== OnClientPopupsRequesting ==== 
-=== Return Value === 
-^ Return Type ^ 
-| String<​!-- System.String --> ​  | 
- 
-<!-- ThinkGeo.MapSuite.MvcEdition.Map --> 
-[[#Public Properties|Go Back]] 
-==== OnClientTrackShapeFinished ==== 
-Gets or sets the client-side script that executes after tracking the shape. 
-=== Remarks === 
-There is a default parameter: e, which represents the editing geometry in json format 
-=== Return Value === 
-^ Return Type ^ 
-| String<​!-- System.String --> ​  | 
- 
-<!-- ThinkGeo.MapSuite.MvcEdition.Map --> 
-[[#Public Properties|Go Back]] 
-==== Popups ==== 
-Gets a Popup collection that holds all of the popups in the map. 
-=== Return Value === 
-^ Return Type ^ 
-| [[ThinkGeo.MapSuite.MvcEdition.GeoKeyedCollection|GeoKeyedCollection]]<​[[ThinkGeo.MapSuite.MvcEdition.Popup|Popup]]><​!-- ThinkGeo.MapSuite.MvcEdition.GeoKeyedCollection{ThinkGeo.MapSuite.MvcEdition.Popup} --> ​  | 
- 
-<!-- ThinkGeo.MapSuite.MvcEdition.Map --> 
-[[#Public Properties|Go Back]] 
-==== ResourceDeploymentMode ==== 
-Gets or sets a value that indicates whether the application allows map to copy its resource images under "​~/​theme/​default/​img/"​ and a css file "​~/​theme/​default/​style.css"​. The default value is "​ResourceDeploymentMode.Automatically",​ otherwise, you need to copy images to the directory. 
-=== Return Value === 
-^ Return Type ^ 
-| [[ThinkGeo.MapSuite.MvcEdition.ResourceDeploymentMode|ResourceDeploymentMode]]<​!-- ThinkGeo.MapSuite.MvcEdition.ResourceDeploymentMode --> ​  | 
- 
-<!-- ThinkGeo.MapSuite.MvcEdition.Map --> 
-[[#Public Properties|Go Back]] 
-==== RestrictedExtent ==== 
-Gets or sets an extent that limits the area to which the map can be navigated within. 
-=== Return Value === 
-^ Return Type ^ 
-| [[ThinkGeo.MapSuite.Core.RectangleShape|RectangleShape]]<​!-- ThinkGeo.MapSuite.Core.RectangleShape --> ​  | 
- 
-<!-- ThinkGeo.MapSuite.MvcEdition.Map --> 
-[[#Public Properties|Go Back]] 
-==== StaticOverlay ==== 
-Gets a LayerOverlay object that displays as a background map. 
-=== Remarks === 
-The StaticOverlay is a shortcut way for you to add a LayerOverlay to the map. It can only be the base overlay. It is not the active base overlay by default. You need to set it to the ActiveBaseOverlay property in order to display it. 
-=== Return Value === 
-^ Return Type ^ 
-| [[ThinkGeo.MapSuite.MvcEdition.LayerOverlay|LayerOverlay]]<​!-- ThinkGeo.MapSuite.MvcEdition.LayerOverlay --> ​  | 
- 
-<!-- ThinkGeo.MapSuite.MvcEdition.Map --> 
-[[#Public Properties|Go Back]] 
-==== StyleSheetFileNames ==== 
-Gets the css files which will be wrote to the client html. 
-=== Return Value === 
-^ Return Type ^ 
-| Collection<​String><​!-- System.Collections.ObjectModel.Collection{System.String} --> ​  | 
- 
-<!-- ThinkGeo.MapSuite.MvcEdition.MvcControlBase --> 
-[[#Public Properties|Go Back]] 
-==== Version ==== 
-<!-- static --> 
-Gets the version of the map control. 
-=== Return Value === 
-^ Return Type ^ 
-| String<​!-- System.String --> ​  | 
- 
-<!-- ThinkGeo.MapSuite.MvcEdition.Map --> 
-[[#Public Properties|Go Back]] 
-==== ViewContext ==== 
-Gets the ViewContext of the page which includes the control. 
-=== Return Value === 
-^ Return Type ^ 
-| ViewContext<​!-- System.Web.Mvc.ViewContext --> ​  | 
- 
-<!-- ThinkGeo.MapSuite.MvcEdition.MvcControlBase --> 
-[[#Public Properties|Go Back]] 
-==== Visible ==== 
-Gets or sets the visibility of the control. 
-=== Return Value === 
-^ Return Type ^ 
-| Boolean<​!-- System.Boolean --> ​  | 
- 
-<!-- ThinkGeo.MapSuite.MvcEdition.MvcControlBase --> 
-[[#Public Properties|Go Back]] 
-==== WebConfigRegisterMode ==== 
-Gets or sets a value that indicates whether the application allows map to register the Web.config on the fly in runtime. The default value is "​WebConfigRegisterMode.AutoRegistered",​ otherwise, you need to copy the code below to the web.config manually. ... ... 
-=== Return Value === 
-^ Return Type ^ 
-| [[ThinkGeo.MapSuite.MvcEdition.WebConfigRegistrationMode|WebConfigRegistrationMode]]<​!-- ThinkGeo.MapSuite.MvcEdition.WebConfigRegistrationMode --> ​  | 
- 
-<!-- ThinkGeo.MapSuite.MvcEdition.Map --> 
-[[#Public Properties|Go Back]] 
-==== Width ==== 
-Gets or sets the width of the control. 
-=== Return Value === 
-^ Return Type ^ 
-| Unit<!-- System.Web.UI.WebControls.Unit --> ​  | 
- 
-<!-- ThinkGeo.MapSuite.MvcEdition.MvcControlBase --> 
-[[#Public Properties|Go Back]] 
-==== WidthInPixels ==== 
-Get the actual width, in pixels, of the map control. 
-=== Remarks === 
-When you set your map's width with percentage values (for example, 100%), you might want to know the actual pixel width of your map at a given time. This property returns the map's pixel width as determined by the browser. 
- 
-<​strong>​Note:</​strong>​ When the map width is a percent value, the <​strong>​WidthInPixels</​strong>​ is double.NaN only until a postback generates. When the page postbacks, the actual width of the map will be synchronized to this property. 
-=== Return Value === 
-^ Return Type ^ 
-| Double<​!-- System.Double --> ​  | 
- 
-<!-- ThinkGeo.MapSuite.MvcEdition.Map --> 
-[[#Public Properties|Go Back]] 
-==== ZoomLevelSet ==== 
-Gets or sets the ZoomLevelSet applied to the map. 
-=== Return Value === 
-^ Return Type ^ 
-| [[ThinkGeo.MapSuite.Core.ZoomLevelSet|ZoomLevelSet]]<​!-- ThinkGeo.MapSuite.Core.ZoomLevelSet --> ​  | 
- 
-<!-- ThinkGeo.MapSuite.MvcEdition.Map --> 
-[[#Public Properties|Go Back]] 
-===== Protected Properties ===== 
-==== CenterX ==== 
-Gets or sets a double value for center X of current viewport. 
-=== Return Value === 
-^ Return Type ^ 
-| Double<​!-- System.Double --> ​  | 
- 
-<!-- ThinkGeo.MapSuite.MvcEdition.Map --> 
-[[#​Protected Properties|Go Back]] 
-==== CenterY ==== 
-Gets or sets a double value for center Y of current viewport. 
-=== Return Value === 
-^ Return Type ^ 
-| Double<​!-- System.Double --> ​  | 
- 
-<!-- ThinkGeo.MapSuite.MvcEdition.Map --> 
-[[#​Protected Properties|Go Back]] 
-==== ClientResolutions ==== 
-Gets the resolution collection corresponding to the specified ZoomLevelSets applied to the map. 
-=== Return Value === 
-^ Return Type ^ 
-| Collection<​Double><​!-- System.Collections.ObjectModel.Collection{System.Double} --> ​  | 
- 
-<!-- ThinkGeo.MapSuite.MvcEdition.Map --> 
-[[#​Protected Properties|Go Back]] 
-==== ClientScriptManager ==== 
-Gets the object which is used for managing, registering the client scripts. 
-=== Return Value === 
-^ Return Type ^ 
-| [[ThinkGeo.MapSuite.MvcEdition.MvcClientScriptManager|MvcClientScriptManager]]<​!-- ThinkGeo.MapSuite.MvcEdition.MvcClientScriptManager --> ​  | 
- 
-<!-- ThinkGeo.MapSuite.MvcEdition.MvcControlBase --> 
-[[#​Protected Properties|Go Back]] 
-==== ClientStyleSheetManager ==== 
-Gets the object which is used for managing, registering the css files used by the control. 
-=== Return Value === 
-^ Return Type ^ 
-| [[ThinkGeo.MapSuite.MvcEdition.MvcClientStyleSheetManager|MvcClientStyleSheetManager]]<​!-- ThinkGeo.MapSuite.MvcEdition.MvcClientStyleSheetManager --> ​  | 
- 
-<!-- ThinkGeo.MapSuite.MvcEdition.MvcControlBase --> 
-[[#​Protected Properties|Go Back]] 
-==== MaxExtent ==== 
-=== Return Value === 
-^ Return Type ^ 
-| [[ThinkGeo.MapSuite.Core.RectangleShape|RectangleShape]]<​!-- ThinkGeo.MapSuite.Core.RectangleShape --> ​  | 
- 
-<!-- ThinkGeo.MapSuite.MvcEdition.Map --> 
-[[#​Protected Properties|Go Back]] 
-==== PageRootPath ==== 
-Gets a string value indicats the web page's root path for loading the default icons. 
-=== Return Value === 
-^ Return Type ^ 
-| String<​!-- System.String --> ​  | 
- 
-<!-- ThinkGeo.MapSuite.MvcEdition.Map --> 
-[[#​Protected Properties|Go Back]] 
-===== Public Events ===== 
-__NOTOC__ 
-[[Category:​MvcEdition]] 
-[[Category:​ThinkGeo.MapSuite.MvcEdition]] 
-[[Category:​UpdateDocumentation]] 
  
thinkgeo.mapsuite.mvcedition.map.1440040131.txt.gz ยท Last modified: 2015/09/21 03:33 (external edit)