User Tools

Site Tools


thinkgeo.mapsuite.webedition.map

This is an old revision of the document!


Table of Contents

ThinkGeo.MapSuite.WebEdition.Map

<!– Class –> This class represents the map control.

Remarks

The map class inherits from the Panel control, so it can be dragged onto the page or be created and added to a page via code like the Panel control itself. The map control is designed as an Ajax control, which means it needs the ScriptManager to run properly. You also need to configure the properties of the map. The most important step is adding overlays, which generate images and stack them over each other to form a map image. The map control has many methods and events through which you can interact with the map.

Inheritance Hierarchy

*System.Object System.Web.UI.Control *System.Web.UI.WebControls.WebControl System.Web.UI.WebControls.Panel *ThinkGeo.MapSuite.WebEdition.Map

Members Summary

Public Constructors

Name Parameters DeclaringType Summary
Public MethodMap Initialize a new instance of the Map class.
Public MethodMap String, Int32, Int32 Initialize 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
Public MethodApplyStyle Style WebControl
Public MethodApplyStyleSheetSkin Page Control
Public MethodCenterAt Double, Double Moves the center of the map to a point specified by the provided X, Y world coordinates.
Public MethodCenterAt PointShape Moves the center of the map to a specified point..
Public MethodCopyBaseAttributes WebControl WebControl
Public MethodDataBind Control
Public MethodDispose Control
Public MethodEquals Object Object
Public MethodFindControl String Control
Public MethodFocus Control
Public MethodGetBitmap Int32, Int32 Gets a bitmap image based on the current map settings with the specified width and height.
Public MethodGetBitmap Gets a bitmap image of the map with the current map settings.
Public MethodGetHashCode Object
Public MethodGetRouteUrl RouteValueDictionary Control
Public MethodGetRouteUrl String, RouteValueDictionary Control
Public MethodGetRouteUrl String, Object Control
Public MethodGetRouteUrl Object Control
Public MethodGetScreenDistanceBetweenTwoWorldPoints PointShape, PointShape Gets the distance in pixels between two specified points in world coordinates.
Public MethodGetType Object
Public MethodGetUniqueIDRelativeTo Control Control
Public MethodGetWorldDistanceBetweenTwoScreenPoints ScreenPointF, ScreenPointF, DistanceUnit Gets the distance in the specified distance unit from two screen points.
Public MethodHasControls Control
Public MethodMergeStyle Style WebControl
Public MethodPan Single, Int32 Moves the map by the specified angle and the percentage of the current extent.
Public MethodPan PanDirection, Int32 Moves the map by the specified direction and percentage of the current extent.
Public MethodRenderBeginTag HtmlTextWriter WebControl(overriden)
Public MethodRenderControl HtmlTextWriter Control
Public MethodRenderEndTag HtmlTextWriter WebControl(overriden)
Public MethodResolveClientUrl String Control
Public MethodResolveUrl String Control
Public MethodSetRenderMethodDelegate RenderMethod Control
Public MethodSetTraceData Object, Object, Object Control
Public MethodSetTraceData Object, Object Control
Public MethodToJson Returns a JSON string that contains map information for creating the map at the client side.
Public MethodToScreenCoordinate PointShape Returns a screen point from a point shape in world coordinates.
Public MethodToScreenCoordinate Double, Double Returns a point shape in screen coordinates from the specified X, Y world coordinates.
Public MethodToString Object
Public MethodToWorldCoordinate ScreenPointF Returns a point shape in world coordinates from a ScreenPointF structure.
Public MethodToWorldCoordinate Single, Single Returns a point shape in world coordinates from the specified X, Y screen coordinates.
Public MethodZoomIn Zooms the map in to the next zoomlevel.
Public MethodZoomOut Zooms the map out to the next zoomlevel.
Public MethodZoomTo PointShape, Double Zooms the map to the center point and the scale that you specify.
Public MethodZoomToMarkers IEnumerable<Marker> Changes the current extent to the extent that includes all of the markers passed in.
Public MethodZoomToScale Double Zoom the map to a specific scale.

Protected Methods

Name Parameters DeclaringType Summary
Protected MethodAddAttributesToRender HtmlTextWriter WebControl(overriden)
Protected MethodAddParsedSubObject Object Control
Protected MethodBeginRenderTracing TextWriter, Object Control
Protected MethodBuildProfileTree String, Boolean Control
Protected MethodClearCachedClientID Control
Protected MethodClearChildControlState Control
Protected MethodClearChildState Control
Protected MethodClearChildViewState Control
Protected MethodClearEffectiveClientIDMode Control
Protected MethodCreateControlCollection Control
Protected MethodCreateControlStyle WebControl(overriden) Creates the style object that is used internally by the System.Web.UI.WebControls.WebControl class to implement all style-related properties. This method is used primarily by control developers.
Protected MethodDataBind Boolean Control
Protected MethodDataBindChildren Control
Protected MethodEndRenderTracing TextWriter, Object Control
Protected MethodEnsureChildControls Control
Protected MethodEnsureID Control
Protected MethodFinalize Object
Protected MethodFindControl String, Int32 Control
Protected MethodGetDesignModeState Control
Protected MethodHasEvents Control
Protected MethodIsLiteralContent Control
Protected MethodLoadViewState Object Control(overriden) Restores view-state information from a previous page request that was saved by the System.Web.UI.Control.SaveViewState method.
Protected MethodMemberwiseClone Object
Protected MethodOnBaseOverlayChanged BaseOverlayChangedEventArgs Raises the BaseOverlayChanged event of the map control.
Protected MethodOnBubbleEvent Object, EventArgs Control
Protected MethodOnClick MapClickedEventArgs Raises the Click event of the map control.
Protected MethodOnDataBinding EventArgs Control
Protected MethodOnDoubleClick MapClickedEventArgs Raises the DoubleClick event of the map control.
Protected MethodOnExtentChanged Raises the ExtentChanged event of the map control.
Protected MethodOnInit EventArgs Control(overriden) Raises the System.Web.UI.Control.Init event.
Protected MethodOnLoad EventArgs Control(overriden) Raises the System.Web.UI.Control.OnLoad event.
Protected MethodOnPreRender EventArgs Control(overriden) Raises the System.Web.UI.Control.PreRender event.
Protected MethodOnTrackShapeFinished Raises the TrackShapeFinished event of the map control.
Protected MethodOnUnload EventArgs Control(overriden)
Protected MethodRaiseBubbleEvent Object, EventArgs Control
Protected MethodRegisterJavascriptLibraryCore Register javascript library. OpenLayers.js, OpenLayersExtension.js, Helper.js, MapParser.js, Function.js, ContextMenu.js files will be referenced to the web page.
Protected MethodRender HtmlTextWriter Control(overriden) Sends server control content to a provided System.Web.UI.HtmlTextWriter object, which writes the content to be rendered on the client.
Protected MethodRenderChildren HtmlTextWriter Control(overriden) Outputs the content of a server control's children to a provided System.Web.UI.HtmlTextWriter object, which writes the content to be rendered on the client.
Protected MethodRenderControl HtmlTextWriter, ControlAdapter Control
Protected MethodResolveAdapter Control
Protected MethodSaveViewState Control(overriden) Saves any server control view-state changes that have occurred since the time the page was posted back to the server.
Protected MethodSetDesignModeState IDictionary Control
Protected MethodTrackViewState Control(overriden)

Public Properties

Name Return DeclaringType Summary
Public PropertyAccessKey String WebControl
Public PropertyActiveBaseOverlay Overlay Gets or sets the active base overlay.
Public PropertyAdornmentOverlay AdornmentOverlay This property gets or sets the adornment overlay in the MapControl.
Public PropertyAppRelativeTemplateSourceDirectory String Control
Public PropertyAttributes AttributeCollection WebControl
Public PropertyBackColor Color WebControl
Public PropertyBackImageUrl String Panel
Public PropertyBackgroundOverlay Overlay Gets or sets an Overlay object that displays as the background map by default.
Public PropertyBindingContainer Control Control
Public PropertyBorderColor Color WebControl
Public PropertyBorderStyle BorderStyle WebControl
Public PropertyBorderWidth Unit WebControl
Public PropertyCallbackResult String Represent the result of auto refresh call back.
Public PropertyClientID String Control(overriden) Gets the server control identifier generated by ASP.NET.
Public PropertyClientIDMode ClientIDMode Control
Public PropertyContextMenu ContextMenu Gets or sets the shortcut menu associated with the map.
Public PropertyControlStyle Style WebControl
Public PropertyControlStyleCreated Boolean WebControl
Public PropertyControls ControlCollection Control
Public PropertyCssClass String WebControl
Public PropertyCurrentExtent RectangleShape Gets or sets the current extent of the map.
Public PropertyCurrentScale Double Gets or sets a double value that indicates the current scale of the map.
Public PropertyCursor CursorType Gets or sets the cursor that appears when the mouse pointer is over the map control.
Public PropertyCustomCursorUri Uri Gets and sets a custom cursor image URI for the mouse cursor to use when you select 'CursorType.Custom'.
Public PropertyCustomOverlays GeoKeyedCollection<Overlay> Gets an Overlay collection, into which you can add different types of overlays.
Public PropertyDataItemContainer Control Control
Public PropertyDataKeysContainer Control Control
Public PropertyDefaultButton String Panel
Public PropertyDirection ContentDirection Panel
Public PropertyDynamicOverlay LayerOverlay Gets a LayerOverlay object that can overlap other overlays.
Public PropertyEditOverlay EditFeatureOverlay Gets an EditOverlay object, with which you can draw and edit shapes at the client.
Public PropertyEnableTheming Boolean Control(overriden)
Public PropertyEnableViewState Boolean Control
Public PropertyEnabled Boolean WebControl
Public PropertyFont FontInfo WebControl
Public PropertyForeColor Color WebControl
Public PropertyGeoCanvas GeoCanvas
Public PropertyGroupingText String Panel
Public PropertyHasAttributes Boolean WebControl
Public PropertyHeight Unit WebControl
Public PropertyHeightInPixels Double Get the actual height, in pixels, of the map control.
Public PropertyHighlightOverlay 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.
Public PropertyHorizontalAlign HorizontalAlign Panel
Public PropertyID String Control
Public PropertyIsDefaultJavascriptLibraryDisabled Boolean Gets or sets whether the default javascript library is disabled or not.
Public PropertyIsDomTreeCollectedWhenPostback Boolean Gets or sets whether collect the DOM tree when Postback.
Public PropertyMapBackground BackgroundLayer Gets or sets the BackgroundLayer object that paints the map background.
Public PropertyMapTools MapTools Gets an object that contains all types of map controls for configuration.
Public PropertyMapUnit GeographyUnit Gets or sets the GeographyUnit for the map.
Public PropertyMarkerOverlay InMemoryMarkerOverlay Gets an InMemoryMarkerOverlay object that renders markers by the specified features.
Public PropertyMaxExtent RectangleShape
Public PropertyNamingContainer Control Control
Public PropertyOnClientBaseOverlayChanged String Gets or sets the client-side script that executes when the current base overlay changes in the OverlaySwitcher.
Public PropertyOnClientClick String Gets or sets the client-side script that executes when you click on the map.
Public PropertyOnClientDoubleClick String Gets or sets the client-side script that executes when you double-click on the map.
Public PropertyOnClientDrawEnd String Gets or sets the client-side script that executes whenever a feature is drawn at the client.
Public PropertyOnClientEditEnd String Gets or sets the client-side script that executes whenever you finish editing a shape at the client.
Public PropertyOnClientExtentChanged String Gets or sets the client-side script that executes when the map extent changes.
Public PropertyPage Page Control
Public PropertyParent Control Control
Public PropertyPopups GeoKeyedCollection<Popup> Gets a Popup collection that holds all of the popups in the map.
Public PropertyRenderingCompatibility Version Control
Public PropertyResourceDeploymentMode ResourceDeploymentMode Gets or sets a value that indicates whether the application allows map to copy its resource images under “~/theme/default/img/”. The default value is “ResourceDeploymentMode.Automatically”, otherwise, you need to copy images to the directory.
Public PropertyRestrictedExtent RectangleShape Gets or sets an extent that limits the area to which the map can be navigated within.
Public PropertyScrollBars ScrollBars Panel
Public PropertySite ISite Control
Public PropertySkinID String Control(overriden)
Public PropertyStaticOverlay LayerOverlay Gets a LayerOverlay object that displays as a background map.
Public PropertyStyle CssStyleCollection WebControl
Public PropertySupportsDisabledAttribute Boolean WebControl(overriden)
Public PropertyTabIndex Int16 WebControl
Public PropertyTemplateControl TemplateControl Control
Public PropertyTemplateSourceDirectory String Control
Public PropertyToolTip String WebControl
Public PropertyUniqueID String Control(overriden) Gets the unique, hierarchically qualified identifier for the server control.
Public PropertyValidateRequestMode ValidateRequestMode Control
Public PropertyStatic MemberVersion String Gets the version of the map control.
Public PropertyViewStateMode ViewStateMode Control
Public PropertyVisible Boolean Control
Public PropertyWebConfigRegisterMode 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. … …
Public PropertyWidth Unit WebControl
Public PropertyWidthInPixels Double Get the actual width, in pixels, of the map control.
Public PropertyWrap Boolean Panel
Public PropertyZoomLevelSet ZoomLevelSet

Protected Properties

Name Return DeclaringType Summary
Protected PropertyAdapter ControlAdapter Control
Protected PropertyAdornmentOverlayForJson AdornmentOverlay Gets the AdornmentOverlay configuration for client side.
Protected PropertyCenterX Double Gets or sets a double value for center X of current viewport.
Protected PropertyCenterY Double Gets or sets a double value for center Y of current viewport.
Protected PropertyChildControlsCreated Boolean Control
Protected PropertyClientIDSeparator Char Control
Protected PropertyClientResolutions Collection<Double> Gets a collection of client resolutions for zoom level set.
Protected PropertyDynamicOverlayForJson LayerOverlay Gets the DynamicOverlay configuration for client side.
Protected PropertyEvents EventHandlerList Control
Protected PropertyHasBaseLayerChangedEvent Boolean Gets a flag whether raise base overlay changed event on the client side.
Protected PropertyHasChildViewState Boolean Control
Protected PropertyHasClickEvent Boolean Gets a flag whether raise click event on the client side.
Protected PropertyHasDoubleClickEvent Boolean Gets a flag whether raise double click event on the client side.
Protected PropertyHasExtentChangedEvent Boolean Gets a flag whether raise extent changed event on the client side.
Protected PropertyHasTrackShapeEndEvent Boolean Gets a flag whether raise track shape finished event on the client side.
Protected PropertyIdSeparator Char Control
Protected PropertyIsTrackingViewState Boolean Control
Protected PropertyLoadViewStateByID Boolean Control
Protected PropertyMarkerOverlayForJson InMemoryMarkerOverlay Gets the MarkerOverlay configuration for client side.
Protected PropertyPageName String Gets current page's name.
Protected PropertyPageRootPath String Gets a string value indicats the web page's root path for loading the default icons.
Protected PropertyStaticOverlayForJson LayerOverlay Gets the StaticOverlay configuration for client side.
Protected PropertyTagKey HtmlTextWriterTag WebControl
Protected PropertyTagName String WebControl
Protected PropertyViewState StateBag Control
Protected PropertyViewStateIgnoresCase Boolean Control

Public Events

Name Event Arguments DeclaringType Summary
Public EventBaseOverlayChanged BaseOverlayChangedEventArgs Occurs when the base overlay is changed.
Public EventClick MapClickedEventArgs Occurs when the map control is clicked.
Public EventDataBinding EventArgs Control
Public EventDisposed EventArgs Control
Public EventDoubleClick MapClickedEventArgs Occurs when the map control is double-clicked.
Public EventExtentChanged ExtentChangedEventArgs Occurs when the map extent is changed.
Public EventInit EventArgs Control
Public EventLoad EventArgs Control
Public EventPreRender EventArgs Control
Public EventTrackShapeFinished EventArgs Occurs each time a shape is drawn.
Public EventUnload EventArgs Control

Public Constructors

Map()

Initialize a new instance of the Map class.

Overloads

Initialize a new instance of the Map class.

Remarks

For the most updated Info for this topic, please check it here:<a href=“http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WebEdition.Map#Map.28.29” target=“_blank”>http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WebEdition.Map#Map.28.29</a>

Parameters

Name Type Description

Go Back

Map(String, Int32, Int32)

Initialize a new instance of the Map class with identifier, map width, and map height specified.

Overloads

Initialize a new instance of the Map class.

Remarks

Parameters

Name Type Description
id String<!– System.String –>
width Int32<!– System.Int32 –>
height Int32<!– System.Int32 –>

Go Back

Protected Constructors

Public Methods

ApplyStyle(Style)

Remarks

Return Value

Return Type Description
Void<!– System.Void –>

Parameters

Name Type Description
s Style<!– System.Web.UI.WebControls.Style –>

<!– System.Web.UI.WebControls.WebControl –> Go Back

ApplyStyleSheetSkin(Page)

Remarks

Return Value

Return Type Description
Void<!– System.Void –>

Parameters

Name Type Description
page Page<!– System.Web.UI.Page –>

<!– System.Web.UI.Control –> 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.WebEdition.Map –> Go Back

CenterAt(PointShape)

Moves the center of the map to a specified point..

Overloads

Moves the center of the map to a specified destination.

Remarks

Return Value

Return Type Description
Void<!– System.Void –>

Parameters

Name Type Description
worldPoint PointShape<!– ThinkGeo.MapSuite.Core.PointShape –> The target point in world coordinates to set as the center of the map's CurrentExtent.

<!– ThinkGeo.MapSuite.WebEdition.Map –> Go Back

CopyBaseAttributes(WebControl)

Remarks

Return Value

Return Type Description
Void<!– System.Void –>

Parameters

Name Type Description
controlSrc WebControl<!– System.Web.UI.WebControls.WebControl –>

<!– System.Web.UI.WebControls.WebControl –> Go Back

DataBind()

Remarks

For the most updated Info for this topic, please check it here:<a href=“http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WebEdition.Map#DataBind.28.29” target=“_blank”>http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WebEdition.Map#DataBind.28.29</a>

Return Value

Return Type Description
Void<!– System.Void –>

Parameters

Name Type Description

<!– System.Web.UI.Control –> Go Back

Dispose()

Remarks

For the most updated Info for this topic, please check it here:<a href=“http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WebEdition.Map#Dispose.28.29” target=“_blank”>http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WebEdition.Map#Dispose.28.29</a>

Return Value

Return Type Description
Void<!– System.Void –>

Parameters

Name Type Description

<!– System.Web.UI.Control –> Go Back

Equals(Object)

Remarks

Return Value

Return Type Description
Boolean<!– System.Boolean –>

Parameters

Name Type Description
obj Object<!– System.Object –>

<!– System.Object –> Go Back

FindControl(String)

Remarks

Return Value

Return Type Description
Control<!– System.Web.UI.Control –>

Parameters

Name Type Description
id String<!– System.String –>

<!– System.Web.UI.Control –> Go Back

Focus()

Remarks

For the most updated Info for this topic, please check it here:<a href=“http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WebEdition.Map#Focus.28.29” target=“_blank”>http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WebEdition.Map#Focus.28.29</a>

Return Value

Return Type Description
Void<!– System.Void –>

Parameters

Name Type Description

<!– System.Web.UI.Control –> 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.WebEdition.Map –> Go Back

GetBitmap()

Gets a bitmap image of the map with the current map settings.

Overloads

Gets a bitmap image of the map.

Remarks

This method will generate a bitmap image with the current map settings, including width, height, current extent, etc.

Return Value

Return Type Description
Bitmap<!– System.Drawing.Bitmap –> A bitmap that is generated based on the current map settings.

Parameters

Name Type Description

<!– ThinkGeo.MapSuite.WebEdition.Map –> Go Back

GetHashCode()

Remarks

Return Value

Return Type Description
Int32<!– System.Int32 –>

Parameters

Name Type Description

<!– System.Object –> Go Back

GetRouteUrl(RouteValueDictionary)

Remarks

Return Value

Return Type Description
String<!– System.String –>

Parameters

Name Type Description
routeParameters RouteValueDictionary<!– System.Web.Routing.RouteValueDictionary –>

<!– System.Web.UI.Control –> Go Back

GetRouteUrl(String, RouteValueDictionary)

Remarks

Return Value

Return Type Description
String<!– System.String –>

Parameters

Name Type Description
routeName String<!– System.String –>
routeParameters RouteValueDictionary<!– System.Web.Routing.RouteValueDictionary –>

<!– System.Web.UI.Control –> Go Back

GetRouteUrl(String, Object)

Remarks

Return Value

Return Type Description
String<!– System.String –>

Parameters

Name Type Description
routeName String<!– System.String –>
routeParameters Object<!– System.Object –>

<!– System.Web.UI.Control –> Go Back

GetRouteUrl(Object)

Remarks

Return Value

Return Type Description
String<!– System.String –>

Parameters

Name Type Description
routeParameters Object<!– System.Object –>

<!– System.Web.UI.Control –> Go Back

GetScreenDistanceBetweenTwoWorldPoints(PointShape, PointShape)

Gets the distance in pixels between two specified points in world coordinates.

Remarks

Return Value

Return Type Description
Single<!– System.Single –> The lengh in pixels between the two points.

Parameters

Name Type Description
startPoint PointShape<!– ThinkGeo.MapSuite.Core.PointShape –> The first point in world coordinates.
endpoint PointShape<!– ThinkGeo.MapSuite.Core.PointShape –> The second point in world coordinates.

<!– ThinkGeo.MapSuite.WebEdition.Map –> Go Back

GetType()

Remarks

For the most updated Info for this topic, please check it here:<a href=“http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WebEdition.Map#GetType.28.29” target=“_blank”>http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WebEdition.Map#GetType.28.29</a>

Return Value

Return Type Description
Type<!– System.Type –>

Parameters

Name Type Description

<!– System.Object –> Go Back

GetUniqueIDRelativeTo(Control)

Remarks

Return Value

Return Type Description
String<!– System.String –>

Parameters

Name Type Description
control Control<!– System.Web.UI.Control –>

<!– System.Web.UI.Control –> Go Back

GetWorldDistanceBetweenTwoScreenPoints(ScreenPointF, ScreenPointF, DistanceUnit)

Gets the distance in the specified distance unit from two screen points.

Remarks

Return Value

Return Type Description
Double<!– System.Double –> The distance value in the specified unit between two screen points.

Parameters

Name Type Description
startPoint ScreenPointF<!– ThinkGeo.MapSuite.Core.ScreenPointF –> The first point in screen coordinates.
endpoint ScreenPointF<!– ThinkGeo.MapSuite.Core.ScreenPointF –> The second point in screen coordinates.
unitOfDistance DistanceUnit<!– ThinkGeo.MapSuite.Core.DistanceUnit –> The unit of return distance.

<!– ThinkGeo.MapSuite.WebEdition.Map –> Go Back

HasControls()

Remarks

Return Value

Return Type Description
Boolean<!– System.Boolean –>

Parameters

Name Type Description

<!– System.Web.UI.Control –> Go Back

MergeStyle(Style)

Remarks

Return Value

Return Type Description
Void<!– System.Void –>

Parameters

Name Type Description
s Style<!– System.Web.UI.WebControls.Style –>

<!– System.Web.UI.WebControls.WebControl –> 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 &lt;strong&gt;CurrentExtent.Width* 0.2&lt;/strong&gt; and the offset in the Y direction is &lt;strong&gt;CurrentExtent.Hight*0.2&lt;/strong&gt;.

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.WebEdition.Map –> 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 &lt;strong&gt;CurrentExtent.Width* 0.2&lt;/strong&gt; and the offset in the Y direction is &lt;strong&gt;CurrentExtent.Hight*0.2&lt;/strong&gt;.

Return Value

Return Type Description
Void<!– System.Void –>

Parameters

Name Type Description
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.WebEdition.Map –> Go Back

RenderBeginTag(HtmlTextWriter)

Remarks

Return Value

Return Type Description
Void<!– System.Void –>

Parameters

Name Type Description
writer HtmlTextWriter<!– System.Web.UI.HtmlTextWriter –>

<!– System.Web.UI.WebControls.WebControl(overriden) –> Go Back

RenderControl(HtmlTextWriter)

Remarks

Return Value

Return Type Description
Void<!– System.Void –>

Parameters

Name Type Description
writer HtmlTextWriter<!– System.Web.UI.HtmlTextWriter –>

<!– System.Web.UI.Control –> Go Back

RenderEndTag(HtmlTextWriter)

Remarks

Return Value

Return Type Description
Void<!– System.Void –>

Parameters

Name Type Description
writer HtmlTextWriter<!– System.Web.UI.HtmlTextWriter –>

<!– System.Web.UI.WebControls.WebControl(overriden) –> Go Back

ResolveClientUrl(String)

Remarks

Return Value

Return Type Description
String<!– System.String –>

Parameters

Name Type Description
relativeUrl String<!– System.String –>

<!– System.Web.UI.Control –> Go Back

ResolveUrl(String)

Remarks

Return Value

Return Type Description
String<!– System.String –>

Parameters

Name Type Description
relativeUrl String<!– System.String –>

<!– System.Web.UI.Control –> Go Back

SetRenderMethodDelegate(RenderMethod)

Remarks

Return Value

Return Type Description
Void<!– System.Void –>

Parameters

Name Type Description
renderMethod RenderMethod<!– System.Web.UI.RenderMethod –>

<!– System.Web.UI.Control –> Go Back

SetTraceData(Object, Object, Object)

Remarks

Return Value

Return Type Description
Void<!– System.Void –>

Parameters

Name Type Description
tracedObject Object<!– System.Object –>
traceDataKey Object<!– System.Object –>
traceDataValue Object<!– System.Object –>

<!– System.Web.UI.Control –> Go Back

SetTraceData(Object, Object)

Remarks

Return Value

Return Type Description
Void<!– System.Void –>

Parameters

Name Type Description
traceDataKey Object<!– System.Object –>
traceDataValue Object<!– System.Object –>

<!– System.Web.UI.Control –> Go Back

ToJson()

Returns a JSON string that contains map information for creating the map at the client side.

Remarks

For the most updated Info for this topic, please check it here:<a href=“http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WebEdition.Map#ToJson.28.29” target=“_blank”>http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WebEdition.Map#ToJson.28.29</a>

Return Value

Return Type Description
String<!– System.String –> A JSON string that contains map information for creating the map at the client side.

Parameters

Name Type Description

<!– ThinkGeo.MapSuite.WebEdition.Map –> 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
ScreenPointF<!– ThinkGeo.MapSuite.Core.ScreenPointF –> A screen point in pixels.

Parameters

Name Type Description
worldPoint PointShape<!– ThinkGeo.MapSuite.Core.PointShape –> A point shape in world coordinates.

<!– ThinkGeo.MapSuite.WebEdition.Map –> 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
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.WebEdition.Map –> Go Back

ToString()

Remarks

For the most updated Info for this topic, please check it here:<a href=“http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WebEdition.Map#ToString.28.29” target=“_blank”>http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WebEdition.Map#ToString.28.29</a>

Return Value

Return Type Description
String<!– System.String –>

Parameters

Name Type Description

<!– System.Object –> 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
PointShape<!– ThinkGeo.MapSuite.Core.PointShape –> A point shape in world coordinates.

Parameters

Name Type Description
screenPoint ScreenPointF<!– ThinkGeo.MapSuite.Core.ScreenPointF –> The point (in screen coordinates) to convert to world coordinates.

<!– ThinkGeo.MapSuite.WebEdition.Map –> 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
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.WebEdition.Map –> Go Back

ZoomIn()

Zooms the map in to the next zoomlevel.

Remarks

For the most updated Info for this topic, please check it here:<a href=“http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WebEdition.Map#ZoomIn.28.29” target=“_blank”>http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WebEdition.Map#ZoomIn.28.29</a>

Return Value

Return Type Description
Void<!– System.Void –>

Parameters

Name Type Description

<!– ThinkGeo.MapSuite.WebEdition.Map –> Go Back

ZoomOut()

Zooms the map out to the next zoomlevel.

Remarks

For the most updated Info for this topic, please check it here:<a href=“http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WebEdition.Map#ZoomOut.28.29” target=“_blank”>http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WebEdition.Map#ZoomOut.28.29</a>

Return Value

Return Type Description
Void<!– System.Void –>

Parameters

Name Type Description

<!– ThinkGeo.MapSuite.WebEdition.Map –> 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 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.WebEdition.Map –> 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<Marker><!– System.Collections.Generic.IEnumerable{ThinkGeo.MapSuite.WebEdition.Marker} –> The markers that will be included in the new extent.

<!– ThinkGeo.MapSuite.WebEdition.Map –> 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.WebEdition.Map –> Go Back

Protected Methods

AddAttributesToRender(HtmlTextWriter)

Remarks

Return Value

Return Type Description
Void<!– System.Void –>

Parameters

Name Type Description
writer HtmlTextWriter<!– System.Web.UI.HtmlTextWriter –>

<!– System.Web.UI.WebControls.WebControl(overriden) –> Go Back

AddParsedSubObject(Object)

Remarks

Return Value

Return Type Description
Void<!– System.Void –>

Parameters

Name Type Description
obj Object<!– System.Object –>

<!– System.Web.UI.Control –> Go Back

BeginRenderTracing(TextWriter, Object)

Remarks

Return Value

Return Type Description
Void<!– System.Void –>

Parameters

Name Type Description
writer TextWriter<!– System.IO.TextWriter –>
traceObject Object<!– System.Object –>

<!– System.Web.UI.Control –> Go Back

BuildProfileTree(String, Boolean)

Remarks

Return Value

Return Type Description
Void<!– System.Void –>

Parameters

Name Type Description
parentId String<!– System.String –>
calcViewState Boolean<!– System.Boolean –>

<!– System.Web.UI.Control –> Go Back

ClearCachedClientID()

Remarks

Return Value

Return Type Description
Void<!– System.Void –>

Parameters

Name Type Description

<!– System.Web.UI.Control –> Go Back

ClearChildControlState()

Remarks

Return Value

Return Type Description
Void<!– System.Void –>

Parameters

Name Type Description

<!– System.Web.UI.Control –> Go Back

ClearChildState()

Remarks

Return Value

Return Type Description
Void<!– System.Void –>

Parameters

Name Type Description

<!– System.Web.UI.Control –> Go Back

ClearChildViewState()

Remarks

Return Value

Return Type Description
Void<!– System.Void –>

Parameters

Name Type Description

<!– System.Web.UI.Control –> Go Back

ClearEffectiveClientIDMode()

Remarks

Return Value

Return Type Description
Void<!– System.Void –>

Parameters

Name Type Description

<!– System.Web.UI.Control –> Go Back

CreateControlCollection()

Remarks

Return Value

Return Type Description
ControlCollection<!– System.Web.UI.ControlCollection –>

Parameters

Name Type Description

<!– System.Web.UI.Control –> Go Back

CreateControlStyle()

Creates the style object that is used internally by the System.Web.UI.WebControls.WebControl class to implement all style-related properties. This method is used primarily by control developers.

Remarks

Return Value

Return Type Description
Style<!– System.Web.UI.WebControls.Style –> A System.Web.UI.WebControls.Style that is used to implement all style-related properties of the control.

Parameters

Name Type Description

<!– System.Web.UI.WebControls.WebControl(overriden) –> Go Back

DataBind(Boolean)

Remarks

Return Value

Return Type Description
Void<!– System.Void –>

Parameters

Name Type Description
raiseOnDataBinding Boolean<!– System.Boolean –>

<!– System.Web.UI.Control –> Go Back

DataBindChildren()

Remarks

Return Value

Return Type Description
Void<!– System.Void –>

Parameters

Name Type Description

<!– System.Web.UI.Control –> Go Back

EndRenderTracing(TextWriter, Object)

Remarks

Return Value

Return Type Description
Void<!– System.Void –>

Parameters

Name Type Description
writer TextWriter<!– System.IO.TextWriter –>
traceObject Object<!– System.Object –>

<!– System.Web.UI.Control –> Go Back

EnsureChildControls()

Remarks

Return Value

Return Type Description
Void<!– System.Void –>

Parameters

Name Type Description

<!– System.Web.UI.Control –> Go Back

EnsureID()

Remarks

For the most updated Info for this topic, please check it here:<a href=“http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WebEdition.Map#EnsureID.28.29” target=“_blank”>http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WebEdition.Map#EnsureID.28.29</a>

Return Value

Return Type Description
Void<!– System.Void –>

Parameters

Name Type Description

<!– System.Web.UI.Control –> Go Back

Finalize()

Remarks

For the most updated Info for this topic, please check it here:<a href=“http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WebEdition.Map#Finalize.28.29” target=“_blank”>http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WebEdition.Map#Finalize.28.29</a>

Return Value

Return Type Description
Void<!– System.Void –>

Parameters

Name Type Description

<!– System.Object –> Go Back

FindControl(String, Int32)

Remarks

Return Value

Return Type Description
Control<!– System.Web.UI.Control –>

Parameters

Name Type Description
id String<!– System.String –>
pathOffset Int32<!– System.Int32 –>

<!– System.Web.UI.Control –> Go Back

GetDesignModeState()

Remarks

Return Value

Return Type Description
IDictionary<!– System.Collections.IDictionary –>

Parameters

Name Type Description

<!– System.Web.UI.Control –> Go Back

HasEvents()

Remarks

For the most updated Info for this topic, please check it here:<a href=“http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WebEdition.Map#HasEvents.28.29” target=“_blank”>http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WebEdition.Map#HasEvents.28.29</a>

Return Value

Return Type Description
Boolean<!– System.Boolean –>

Parameters

Name Type Description

<!– System.Web.UI.Control –> Go Back

IsLiteralContent()

Remarks

Return Value

Return Type Description
Boolean<!– System.Boolean –>

Parameters

Name Type Description

<!– System.Web.UI.Control –> Go Back

LoadViewState(Object)

Restores view-state information from a previous page request that was saved by the System.Web.UI.Control.SaveViewState method.

Remarks

Return Value

Return Type Description
Void<!– System.Void –>

Parameters

Name Type Description
savedState Object<!– System.Object –> An System.Object that represents the control state to be restored.

<!– System.Web.UI.Control(overriden) –> Go Back

MemberwiseClone()

Remarks

Return Value

Return Type Description
Object<!– System.Object –>

Parameters

Name Type Description

<!– System.Object –> Go Back

OnBaseOverlayChanged(BaseOverlayChangedEventArgs)

Raises the BaseOverlayChanged event of the map control.

Remarks

The &lt;strong&gt;OnBaseOverlayChanged&lt;/strong&gt; method also allows derived classes to handle the event without attaching a delegate. This is the preferred technique for handling the event in a derived class.&lt;strong&gt;Notes to Inheritors:&lt;/strong&gt; When overriding &lt;strong&gt;OnBaseOverlayChanged&lt;/strong&gt; in a derived class, be sure to call the base class's &lt;strong&gt;OnBaseOverlayChanged&lt;/strong&gt; method so that registered delegates receive the event.

Return Value

Return Type Description
Void<!– System.Void –>

Parameters

Name Type Description
e BaseOverlayChangedEventArgs<!– ThinkGeo.MapSuite.WebEdition.BaseOverlayChangedEventArgs –> The BaseOverlayChangedEventArgs that contains the event data.

<!– ThinkGeo.MapSuite.WebEdition.Map –> Go Back

OnBubbleEvent(Object, EventArgs)

Remarks

Return Value

Return Type Description
Boolean<!– System.Boolean –>

Parameters

Name Type Description
source Object<!– System.Object –>
args EventArgs<!– System.EventArgs –>

<!– System.Web.UI.Control –> Go Back

OnClick(MapClickedEventArgs)

Raises the Click event of the map control.

Remarks

The OnClick methods allows derived classes to handle the event without attaching a delegate. This is the preferred technique for handling the event in a derived class.&lt;strong&gt;Notes to Inheritors:&lt;/strong&gt; When overriding OnClick in a derived class, be sure to call the base class's OnClick method so that registered delegates receive the event.

Return Value

Return Type Description
Void<!– System.Void –>

Parameters

Name Type Description
e MapClickedEventArgs<!– ThinkGeo.MapSuite.WebEdition.MapClickedEventArgs –> A MapClickedEventArgs that contains the event data.

<!– ThinkGeo.MapSuite.WebEdition.Map –> Go Back

OnDataBinding(EventArgs)

Remarks

Return Value

Return Type Description
Void<!– System.Void –>

Parameters

Name Type Description
e EventArgs<!– System.EventArgs –>

<!– System.Web.UI.Control –> Go Back

OnDoubleClick(MapClickedEventArgs)

Raises the DoubleClick event of the map control.

Remarks

The &lt;strong&gt;OnDoubleClick&lt;/strong&gt; method also allows derived classes to handle the event without attaching a delegate. This is the preferred technique for handling the event in a derived class.&lt;strong&gt;Notes to Inheritors:&lt;/strong&gt; When overriding &lt;strong&gt;OnDoubleClick&lt;/strong&gt; in a derived class, be sure to call the base class's &lt;strong&gt;OnDoubleClick&lt;/strong&gt; method so that registered delegates receive the event.

Return Value

Return Type Description
Void<!– System.Void –>

Parameters

Name Type Description
e MapClickedEventArgs<!– ThinkGeo.MapSuite.WebEdition.MapClickedEventArgs –> A MapClickedEventArgs that contains the event data.

<!– ThinkGeo.MapSuite.WebEdition.Map –> Go Back

OnExtentChanged()

Raises the ExtentChanged event of the map control.

Remarks

Return Value

Return Type Description
Void<!– System.Void –>

Parameters

Name Type Description

<!– ThinkGeo.MapSuite.WebEdition.Map –> Go Back

OnInit(EventArgs)

Raises the System.Web.UI.Control.Init event.

Remarks

Return Value

Return Type Description
Void<!– System.Void –>

Parameters

Name Type Description
e EventArgs<!– System.EventArgs –> A System.EventArgs object that contains the event data.

<!– System.Web.UI.Control(overriden) –> Go Back

OnLoad(EventArgs)

Raises the System.Web.UI.Control.OnLoad event.

Remarks

Return Value

Return Type Description
Void<!– System.Void –>

Parameters

Name Type Description
e EventArgs<!– System.EventArgs –>

<!– System.Web.UI.Control(overriden) –> Go Back

OnPreRender(EventArgs)

Raises the System.Web.UI.Control.PreRender event.

Remarks

Return Value

Return Type Description
Void<!– System.Void –>

Parameters

Name Type Description
e EventArgs<!– System.EventArgs –> A System.EventArgs object that contains the event data.

<!– System.Web.UI.Control(overriden) –> Go Back

OnTrackShapeFinished()

Raises the TrackShapeFinished event of the map control.

Remarks

The &lt;strong&gt;OnTrackShapeFinished&lt;/strong&gt; method also allows derived classes to handle the event without attaching a delegate. This is the preferred technique for handling the event in a derived class.&lt;strong&gt;Notes to Inheritors:&lt;/strong&gt; When overriding &lt;strong&gt;OnTrackShapeFinished&lt;/strong&gt; in a derived class, be sure to call the base class's &lt;strong&gt;OnTrackShapeFinished&lt;/strong&gt; method so that registered delegates receive the event.

Return Value

Return Type Description
Void<!– System.Void –>

Parameters

Name Type Description

<!– ThinkGeo.MapSuite.WebEdition.Map –> Go Back

OnUnload(EventArgs)

Remarks

Return Value

Return Type Description
Void<!– System.Void –>

Parameters

Name Type Description
e EventArgs<!– System.EventArgs –>

<!– System.Web.UI.Control(overriden) –> Go Back

RaiseBubbleEvent(Object, EventArgs)

Remarks

Return Value

Return Type Description
Void<!– System.Void –>

Parameters

Name Type Description
source Object<!– System.Object –>
args EventArgs<!– System.EventArgs –>

<!– System.Web.UI.Control –> Go Back

RegisterJavascriptLibraryCore()

Register javascript library. OpenLayers.js, OpenLayersExtension.js, Helper.js, MapParser.js, Function.js, ContextMenu.js files will be referenced to the web page.

Remarks

Return Value

Return Type Description
Void<!– System.Void –>

Parameters

Name Type Description

<!– ThinkGeo.MapSuite.WebEdition.Map –> Go Back

Render(HtmlTextWriter)

Sends server control content to a provided System.Web.UI.HtmlTextWriter object, which writes the content to be rendered on the client.

Remarks

Return Value

Return Type Description
Void<!– System.Void –>

Parameters

Name Type Description
writer HtmlTextWriter<!– System.Web.UI.HtmlTextWriter –> The System.Web.UI.HtmlTextWriter object that receives the server control content.

<!– System.Web.UI.Control(overriden) –> Go Back

RenderChildren(HtmlTextWriter)

Outputs the content of a server control's children to a provided System.Web.UI.HtmlTextWriter object, which writes the content to be rendered on the client.

Remarks

Return Value

Return Type Description
Void<!– System.Void –>

Parameters

Name Type Description
writer HtmlTextWriter<!– System.Web.UI.HtmlTextWriter –> The System.Web.UI.HtmlTextWriter object that receives the rendered content.

<!– System.Web.UI.Control(overriden) –> Go Back

RenderControl(HtmlTextWriter, ControlAdapter)

Remarks

Return Value

Return Type Description
Void<!– System.Void –>

Parameters

Name Type Description
writer HtmlTextWriter<!– System.Web.UI.HtmlTextWriter –>
adapter ControlAdapter<!– System.Web.UI.Adapters.ControlAdapter –>

<!– System.Web.UI.Control –> Go Back

ResolveAdapter()

Remarks

Return Value

Return Type Description
ControlAdapter<!– System.Web.UI.Adapters.ControlAdapter –>

Parameters

Name Type Description

<!– System.Web.UI.Control –> Go Back

SaveViewState()

Saves any server control view-state changes that have occurred since the time the page was posted back to the server.

Remarks

Return Value

Return Type Description
Object<!– System.Object –> Returns the server control's current view state. If there is no view state associated with the control, this method returns null.

Parameters

Name Type Description

<!– System.Web.UI.Control(overriden) –> Go Back

SetDesignModeState(IDictionary)

Remarks

Return Value

Return Type Description
Void<!– System.Void –>

Parameters

Name Type Description
data IDictionary<!– System.Collections.IDictionary –>

<!– System.Web.UI.Control –> Go Back

TrackViewState()

Remarks

Return Value

Return Type Description
Void<!– System.Void –>

Parameters

Name Type Description

<!– System.Web.UI.Control(overriden) –> Go Back

Public Properties

AccessKey

Remarks

For the most updated Info for this topic, please check it here:<a href=“http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WebEdition.Map#AccessKey” target=“_blank”>http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WebEdition.Map#AccessKey</a>

Return Value

Return Type
String<!– System.String –>

<!– System.Web.UI.WebControls.WebControl –> Go Back

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 &lt;strong&gt;ActiveBaseOverlay&lt;/strong&gt; property specifies the one that is currently displayed. When you switch the base overlays in the &lt;strong&gt;OverlaySwitcher&lt;/strong&gt;, the currently selected overlay will be synchronized to this property after postback.

Return Value

Return Type
Overlay<!– ThinkGeo.MapSuite.WebEdition.Overlay –>

<!– ThinkGeo.MapSuite.WebEdition.Map –> Go Back

AdornmentOverlay

This property gets or sets the adornment overlay in the MapControl.

Remarks

Return Value

Return Type
AdornmentOverlay<!– ThinkGeo.MapSuite.WebEdition.AdornmentOverlay –>

<!– ThinkGeo.MapSuite.WebEdition.Map –> Go Back

AppRelativeTemplateSourceDirectory

Remarks

Return Value

Return Type
String<!– System.String –>

<!– System.Web.UI.Control –> Go Back

Attributes

Remarks

Return Value

Return Type
AttributeCollection<!– System.Web.UI.AttributeCollection –>

<!– System.Web.UI.WebControls.WebControl –> Go Back

BackColor

Remarks

For the most updated Info for this topic, please check it here:<a href=“http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WebEdition.Map#BackColor” target=“_blank”>http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WebEdition.Map#BackColor</a>

Return Value

Return Type
Color<!– System.Drawing.Color –>

<!– System.Web.UI.WebControls.WebControl –> Go Back

BackImageUrl

Remarks

For the most updated Info for this topic, please check it here:<a href=“http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WebEdition.Map#BackImageUrl” target=“_blank”>http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WebEdition.Map#BackImageUrl</a>

Return Value

Return Type
String<!– System.String –>

<!– System.Web.UI.WebControls.Panel –> 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 &lt;strong&gt;ActiveBaseOverlay&lt;/strong&gt; property.

Return Value

Return Type
Overlay<!– ThinkGeo.MapSuite.WebEdition.Overlay –>

<!– ThinkGeo.MapSuite.WebEdition.Map –> Go Back

BindingContainer

Remarks

Return Value

Return Type
Control<!– System.Web.UI.Control –>

<!– System.Web.UI.Control –> Go Back

BorderColor

Remarks

For the most updated Info for this topic, please check it here:<a href=“http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WebEdition.Map#BorderColor” target=“_blank”>http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WebEdition.Map#BorderColor</a>

Return Value

Return Type
Color<!– System.Drawing.Color –>

<!– System.Web.UI.WebControls.WebControl –> Go Back

BorderStyle

Remarks

For the most updated Info for this topic, please check it here:<a href=“http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WebEdition.Map#BorderStyle” target=“_blank”>http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WebEdition.Map#BorderStyle</a>

Return Value

Return Type
BorderStyle<!– System.Web.UI.WebControls.BorderStyle –>

<!– System.Web.UI.WebControls.WebControl –> Go Back

BorderWidth

Remarks

For the most updated Info for this topic, please check it here:<a href=“http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WebEdition.Map#BorderWidth” target=“_blank”>http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WebEdition.Map#BorderWidth</a>

Return Value

Return Type
Unit<!– System.Web.UI.WebControls.Unit –>

<!– System.Web.UI.WebControls.WebControl –> Go Back

CallbackResult

Represent the result of auto refresh call back.

Remarks

For the most updated Info for this topic, please check it here:<a href=“http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WebEdition.Map#CallbackResult” target=“_blank”>http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WebEdition.Map#CallbackResult</a>

Return Value

Return Type
String<!– System.String –>

<!– ThinkGeo.MapSuite.WebEdition.Map –> Go Back

ClientID

Gets the server control identifier generated by ASP.NET.

Remarks

Return Value

Return Type
String<!– System.String –>

<!– System.Web.UI.Control(overriden) –> Go Back

ClientIDMode

Remarks

Return Value

Return Type
ClientIDMode<!– System.Web.UI.ClientIDMode –>

<!– System.Web.UI.Control –> Go Back

ContextMenu

Gets or sets the shortcut menu associated with the map.

Remarks

For the most updated Info for this topic, please check it here:<a href=“http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WebEdition.Map#ContextMenu” target=“_blank”>http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WebEdition.Map#ContextMenu</a>

Return Value

Return Type
ContextMenu<!– ThinkGeo.MapSuite.WebEdition.ContextMenu –>

<!– ThinkGeo.MapSuite.WebEdition.Map –> Go Back

ControlStyle

Remarks

Return Value

Return Type
Style<!– System.Web.UI.WebControls.Style –>

<!– System.Web.UI.WebControls.WebControl –> Go Back

ControlStyleCreated

Remarks

Return Value

Return Type
Boolean<!– System.Boolean –>

<!– System.Web.UI.WebControls.WebControl –> Go Back

Controls

Remarks

Return Value

Return Type
ControlCollection<!– System.Web.UI.ControlCollection –>

<!– System.Web.UI.Control –> Go Back

CssClass

Remarks

For the most updated Info for this topic, please check it here:<a href=“http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WebEdition.Map#CssClass” target=“_blank”>http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WebEdition.Map#CssClass</a>

Return Value

Return Type
String<!– System.String –>

<!– System.Web.UI.WebControls.WebControl –> Go Back

CurrentExtent

Gets or sets the current extent of the map.

Remarks

For the most updated Info for this topic, please check it here:<a href=“http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WebEdition.Map#CurrentExtent” target=“_blank”>http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WebEdition.Map#CurrentExtent</a>

Return Value

Return Type
RectangleShape<!– ThinkGeo.MapSuite.Core.RectangleShape –>

<!– ThinkGeo.MapSuite.WebEdition.Map –> Go Back

CurrentScale

Gets or sets a double value that indicates the current scale of the map.

Remarks

For the most updated Info for this topic, please check it here:<a href=“http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WebEdition.Map#CurrentScale” target=“_blank”>http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WebEdition.Map#CurrentScale</a>

Return Value

Return Type
Double<!– System.Double –>

<!– ThinkGeo.MapSuite.WebEdition.Map –> Go Back

Cursor

Gets or sets the cursor that appears when the mouse pointer is over the map control.

Remarks

For the most updated Info for this topic, please check it here:<a href=“http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WebEdition.Map#Cursor” target=“_blank”>http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WebEdition.Map#Cursor</a>

Return Value

Return Type
CursorType<!– ThinkGeo.MapSuite.WebEdition.CursorType –>

<!– ThinkGeo.MapSuite.WebEdition.Map –> Go Back

CustomCursorUri

Gets and sets a custom cursor image URI for the mouse cursor to use when you select 'CursorType.Custom'.

Remarks

For the most updated Info for this topic, please check it here:<a href=“http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WebEdition.Map#CustomCursorUri” target=“_blank”>http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WebEdition.Map#CustomCursorUri</a>

Return Value

Return Type
Uri<!– System.Uri –>

<!– ThinkGeo.MapSuite.WebEdition.Map –> 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
GeoKeyedCollection<Overlay><!– ThinkGeo.MapSuite.WebEdition.GeoKeyedCollection{ThinkGeo.MapSuite.WebEdition.Overlay} –>

<!– ThinkGeo.MapSuite.WebEdition.Map –> Go Back

DataItemContainer

Remarks

Return Value

Return Type
Control<!– System.Web.UI.Control –>

<!– System.Web.UI.Control –> Go Back

DataKeysContainer

Remarks

Return Value

Return Type
Control<!– System.Web.UI.Control –>

<!– System.Web.UI.Control –> Go Back

DefaultButton

Remarks

For the most updated Info for this topic, please check it here:<a href=“http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WebEdition.Map#DefaultButton” target=“_blank”>http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WebEdition.Map#DefaultButton</a>

Return Value

Return Type
String<!– System.String –>

<!– System.Web.UI.WebControls.Panel –> Go Back

Direction

Remarks

Return Value

Return Type
ContentDirection<!– System.Web.UI.WebControls.ContentDirection –>

<!– System.Web.UI.WebControls.Panel –> Go Back

DynamicOverlay

Gets a LayerOverlay object that can overlap other overlays.

Remarks

For the most updated Info for this topic, please check it here:<a href=“http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WebEdition.Map#DynamicOverlay” target=“_blank”>http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WebEdition.Map#DynamicOverlay</a>

Return Value

Return Type
LayerOverlay<!– ThinkGeo.MapSuite.WebEdition.LayerOverlay –>

<!– ThinkGeo.MapSuite.WebEdition.Map –> Go Back

EditOverlay

Gets an EditOverlay object, with which you can draw and edit shapes at the client.

Remarks

For the most updated Info for this topic, please check it here:<a href=“http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WebEdition.Map#EditOverlay” target=“_blank”>http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WebEdition.Map#EditOverlay</a>

Return Value

Return Type
EditFeatureOverlay<!– ThinkGeo.MapSuite.WebEdition.EditFeatureOverlay –>

<!– ThinkGeo.MapSuite.WebEdition.Map –> Go Back

EnableTheming

Remarks

For the most updated Info for this topic, please check it here:<a href=“http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WebEdition.Map#EnableTheming” target=“_blank”>http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WebEdition.Map#EnableTheming</a>

Return Value

Return Type
Boolean<!– System.Boolean –>

<!– System.Web.UI.Control(overriden) –> Go Back

EnableViewState

Remarks

For the most updated Info for this topic, please check it here:<a href=“http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WebEdition.Map#EnableViewState” target=“_blank”>http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WebEdition.Map#EnableViewState</a>

Return Value

Return Type
Boolean<!– System.Boolean –>

<!– System.Web.UI.Control –> Go Back

Enabled

Remarks

For the most updated Info for this topic, please check it here:<a href=“http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WebEdition.Map#Enabled” target=“_blank”>http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WebEdition.Map#Enabled</a>

Return Value

Return Type
Boolean<!– System.Boolean –>

<!– System.Web.UI.WebControls.WebControl –> Go Back

Font

Remarks

For the most updated Info for this topic, please check it here:<a href=“http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WebEdition.Map#Font” target=“_blank”>http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WebEdition.Map#Font</a>

Return Value

Return Type
FontInfo<!– System.Web.UI.WebControls.FontInfo –>

<!– System.Web.UI.WebControls.WebControl –> Go Back

ForeColor

Remarks

For the most updated Info for this topic, please check it here:<a href=“http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WebEdition.Map#ForeColor” target=“_blank”>http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WebEdition.Map#ForeColor</a>

Return Value

Return Type
Color<!– System.Drawing.Color –>

<!– System.Web.UI.WebControls.WebControl –> Go Back

GeoCanvas

Remarks

For the most updated Info for this topic, please check it here:<a href=“http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WebEdition.Map#GeoCanvas” target=“_blank”>http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WebEdition.Map#GeoCanvas</a>

Return Value

Return Type
GeoCanvas<!– ThinkGeo.MapSuite.Core.GeoCanvas –>

<!– ThinkGeo.MapSuite.WebEdition.Map –> Go Back

GroupingText

Remarks

For the most updated Info for this topic, please check it here:<a href=“http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WebEdition.Map#GroupingText” target=“_blank”>http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WebEdition.Map#GroupingText</a>

Return Value

Return Type
String<!– System.String –>

<!– System.Web.UI.WebControls.Panel –> Go Back

HasAttributes

Remarks

For the most updated Info for this topic, please check it here:<a href=“http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WebEdition.Map#HasAttributes” target=“_blank”>http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WebEdition.Map#HasAttributes</a>

Return Value

Return Type
Boolean<!– System.Boolean –>

<!– System.Web.UI.WebControls.WebControl –> Go Back

Height

Remarks

For the most updated Info for this topic, please check it here:<a href=“http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WebEdition.Map#Height” target=“_blank”>http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WebEdition.Map#Height</a>

Return Value

Return Type
Unit<!– System.Web.UI.WebControls.Unit –>

<!– System.Web.UI.WebControls.WebControl –> 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.&lt;strong&gt;Note:&lt;/strong&gt; When the map height is a percent value, the &lt;strong&gt;HeightInPixels&lt;/strong&gt; 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.WebEdition.Map –> 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.&lt;strong&gt;Note:&lt;/strong&gt; 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
HighlightFeatureOverlay<!– ThinkGeo.MapSuite.WebEdition.HighlightFeatureOverlay –>

<!– ThinkGeo.MapSuite.WebEdition.Map –> Go Back

HorizontalAlign

Remarks

For the most updated Info for this topic, please check it here:<a href=“http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WebEdition.Map#HorizontalAlign” target=“_blank”>http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WebEdition.Map#HorizontalAlign</a>

Return Value

Return Type
HorizontalAlign<!– System.Web.UI.WebControls.HorizontalAlign –>

<!– System.Web.UI.WebControls.Panel –> Go Back

ID

Remarks

Return Value

Return Type
String<!– System.String –>

<!– System.Web.UI.Control –> Go Back

IsDefaultJavascriptLibraryDisabled

Gets or sets whether the default javascript library is disabled or not.

Remarks

Return Value

Return Type
Boolean<!– System.Boolean –>

<!– ThinkGeo.MapSuite.WebEdition.Map –> Go Back

IsDomTreeCollectedWhenPostback

Gets or sets whether collect the DOM tree when Postback.

Remarks

Return Value

Return Type
Boolean<!– System.Boolean –>

<!– ThinkGeo.MapSuite.WebEdition.Map –> 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
BackgroundLayer<!– ThinkGeo.MapSuite.Core.BackgroundLayer –>

<!– ThinkGeo.MapSuite.WebEdition.Map –> Go Back

MapTools

Gets an object that contains all types of map controls for configuration.

Remarks

For the most updated Info for this topic, please check it here:<a href=“http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WebEdition.Map#MapTools” target=“_blank”>http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WebEdition.Map#MapTools</a>

Return Value

Return Type
MapTools<!– ThinkGeo.MapSuite.WebEdition.MapTools –>

<!– ThinkGeo.MapSuite.WebEdition.Map –> Go Back

MapUnit

Gets or sets the GeographyUnit for the map.

Remarks

For the most updated Info for this topic, please check it here:<a href=“http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WebEdition.Map#MapUnit” target=“_blank”>http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WebEdition.Map#MapUnit</a>

Return Value

Return Type
GeographyUnit<!– ThinkGeo.MapSuite.Core.GeographyUnit –>

<!– ThinkGeo.MapSuite.WebEdition.Map –> 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
InMemoryMarkerOverlay<!– ThinkGeo.MapSuite.WebEdition.InMemoryMarkerOverlay –>

<!– ThinkGeo.MapSuite.WebEdition.Map –> Go Back

MaxExtent

Remarks

For the most updated Info for this topic, please check it here:<a href=“” target=“_blank”></a>

Return Value

Return Type
RectangleShape<!– ThinkGeo.MapSuite.Core.RectangleShape –>

<!– ThinkGeo.MapSuite.WebEdition.Map –> Go Back

NamingContainer

Remarks

For the most updated Info for this topic, please check it here:<a href=“http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WebEdition.Map#NamingContainer” target=“_blank”>http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WebEdition.Map#NamingContainer</a>

Return Value

Return Type
Control<!– System.Web.UI.Control –>

<!– System.Web.UI.Control –> Go Back

OnClientBaseOverlayChanged

Gets or sets the client-side script that executes when the current base overlay changes in the OverlaySwitcher.

Remarks

Return Value

Return Type
String<!– System.String –>

<!– ThinkGeo.MapSuite.WebEdition.Map –> Go Back

OnClientClick

Gets or sets the client-side script that executes when you click on the map.

Remarks

For the most updated Info for this topic, please check it here:<a href=“http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WebEdition.Map#OnClientClick” target=“_blank”>http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WebEdition.Map#OnClientClick</a>

Return Value

Return Type
String<!– System.String –>

<!– ThinkGeo.MapSuite.WebEdition.Map –> Go Back

OnClientDoubleClick

Gets or sets the client-side script that executes when you double-click on the map.

Remarks

Return Value

Return Type
String<!– System.String –>

<!– ThinkGeo.MapSuite.WebEdition.Map –> Go Back

OnClientDrawEnd

Gets or sets the client-side script that executes whenever a feature is drawn at the client.

Remarks

The &lt;strong&gt;OnClientDrawEnd&lt;/strong&gt; 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.WebEdition.Map –> Go Back

OnClientEditEnd

Gets or sets the client-side script that executes whenever you finish editing a shape at the client.

Remarks

The &lt;strong&gt;OnClientEditEnd&lt;/strong&gt; 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.WebEdition.Map –> Go Back

OnClientExtentChanged

Gets or sets the client-side script that executes when the map extent changes.

Remarks

Return Value

Return Type
String<!– System.String –>

<!– ThinkGeo.MapSuite.WebEdition.Map –> Go Back

Page

Remarks

Return Value

Return Type
Page<!– System.Web.UI.Page –>

<!– System.Web.UI.Control –> Go Back

Parent

Remarks

For the most updated Info for this topic, please check it here:<a href=“http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WebEdition.Map#Parent” target=“_blank”>http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WebEdition.Map#Parent</a>

Return Value

Return Type
Control<!– System.Web.UI.Control –>

<!– System.Web.UI.Control –> Go Back

Popups

Gets a Popup collection that holds all of the popups in the map.

Remarks

For the most updated Info for this topic, please check it here:<a href=“http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WebEdition.Map#Popups” target=“_blank”>http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WebEdition.Map#Popups</a>

Return Value

Return Type
GeoKeyedCollection<Popup><!– ThinkGeo.MapSuite.WebEdition.GeoKeyedCollection{ThinkGeo.MapSuite.WebEdition.Popup} –>

<!– ThinkGeo.MapSuite.WebEdition.Map –> Go Back

RenderingCompatibility

Remarks

Return Value

Return Type
Version<!– System.Version –>

<!– System.Web.UI.Control –> Go Back

ResourceDeploymentMode

Gets or sets a value that indicates whether the application allows map to copy its resource images under “~/theme/default/img/”. The default value is “ResourceDeploymentMode.Automatically”, otherwise, you need to copy images to the directory.

Remarks

Return Value

Return Type
ResourceDeploymentMode<!– ThinkGeo.MapSuite.WebEdition.ResourceDeploymentMode –>

<!– ThinkGeo.MapSuite.WebEdition.Map –> Go Back

RestrictedExtent

Gets or sets an extent that limits the area to which the map can be navigated within.

Remarks

Return Value

Return Type
RectangleShape<!– ThinkGeo.MapSuite.Core.RectangleShape –>

<!– ThinkGeo.MapSuite.WebEdition.Map –> Go Back

ScrollBars

Remarks

For the most updated Info for this topic, please check it here:<a href=“http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WebEdition.Map#ScrollBars” target=“_blank”>http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WebEdition.Map#ScrollBars</a>

Return Value

Return Type
ScrollBars<!– System.Web.UI.WebControls.ScrollBars –>

<!– System.Web.UI.WebControls.Panel –> Go Back

Site

Remarks

For the most updated Info for this topic, please check it here:<a href=“http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WebEdition.Map#Site” target=“_blank”>http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WebEdition.Map#Site</a>

Return Value

Return Type
ISite<!– System.ComponentModel.ISite –>

<!– System.Web.UI.Control –> Go Back

SkinID

Remarks

For the most updated Info for this topic, please check it here:<a href=“http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WebEdition.Map#SkinID” target=“_blank”>http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WebEdition.Map#SkinID</a>

Return Value

Return Type
String<!– System.String –>

<!– System.Web.UI.Control(overriden) –> 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
LayerOverlay<!– ThinkGeo.MapSuite.WebEdition.LayerOverlay –>

<!– ThinkGeo.MapSuite.WebEdition.Map –> Go Back

Style

Remarks

Return Value

Return Type
CssStyleCollection<!– System.Web.UI.CssStyleCollection –>

<!– System.Web.UI.WebControls.WebControl –> Go Back

SupportsDisabledAttribute

Remarks

Return Value

Return Type
Boolean<!– System.Boolean –>

<!– System.Web.UI.WebControls.WebControl(overriden) –> Go Back

TabIndex

Remarks

For the most updated Info for this topic, please check it here:<a href=“http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WebEdition.Map#TabIndex” target=“_blank”>http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WebEdition.Map#TabIndex</a>

Return Value

Return Type
Int16<!– System.Int16 –>

<!– System.Web.UI.WebControls.WebControl –> Go Back

TemplateControl

Remarks

For the most updated Info for this topic, please check it here:<a href=“http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WebEdition.Map#TemplateControl” target=“_blank”>http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WebEdition.Map#TemplateControl</a>

Return Value

Return Type
TemplateControl<!– System.Web.UI.TemplateControl –>

<!– System.Web.UI.Control –> Go Back

TemplateSourceDirectory

Remarks

Return Value

Return Type
String<!– System.String –>

<!– System.Web.UI.Control –> Go Back

ToolTip

Remarks

For the most updated Info for this topic, please check it here:<a href=“http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WebEdition.Map#ToolTip” target=“_blank”>http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WebEdition.Map#ToolTip</a>

Return Value

Return Type
String<!– System.String –>

<!– System.Web.UI.WebControls.WebControl –> Go Back

UniqueID

Gets the unique, hierarchically qualified identifier for the server control.

Remarks

Return Value

Return Type
String<!– System.String –>

<!– System.Web.UI.Control(overriden) –> Go Back

ValidateRequestMode

Remarks

Return Value

Return Type
ValidateRequestMode<!– System.Web.UI.ValidateRequestMode –>

<!– System.Web.UI.Control –> Go Back

Version

<!– static –> Gets the version of the map control.

Remarks

For the most updated Info for this topic, please check it here:<a href=“http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WebEdition.Map#Version” target=“_blank”>http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WebEdition.Map#Version</a>

Return Value

Return Type
String<!– System.String –>

<!– ThinkGeo.MapSuite.WebEdition.Map –> Go Back

ViewStateMode

Remarks

For the most updated Info for this topic, please check it here:<a href=“http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WebEdition.Map#ViewStateMode” target=“_blank”>http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WebEdition.Map#ViewStateMode</a>

Return Value

Return Type
ViewStateMode<!– System.Web.UI.ViewStateMode –>

<!– System.Web.UI.Control –> Go Back

Visible

Remarks

For the most updated Info for this topic, please check it here:<a href=“http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WebEdition.Map#Visible” target=“_blank”>http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WebEdition.Map#Visible</a>

Return Value

Return Type
Boolean<!– System.Boolean –>

<!– System.Web.UI.Control –> 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. … …

Remarks

Return Value

Return Type
WebConfigRegistrationMode<!– ThinkGeo.MapSuite.WebEdition.WebConfigRegistrationMode –>

<!– ThinkGeo.MapSuite.WebEdition.Map –> Go Back

Width

Remarks

For the most updated Info for this topic, please check it here:<a href=“http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WebEdition.Map#BorderWidth” target=“_blank”>http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WebEdition.Map#BorderWidth</a>

Return Value

Return Type
Unit<!– System.Web.UI.WebControls.Unit –>

<!– System.Web.UI.WebControls.WebControl –> 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.&lt;strong&gt;Note:&lt;/strong&gt; When the map width is a percent value, the &lt;strong&gt;WidthInPixels&lt;/strong&gt; 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.WebEdition.Map –> Go Back

Wrap

Remarks

For the most updated Info for this topic, please check it here:<a href=“http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WebEdition.Map#Wrap” target=“_blank”>http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WebEdition.Map#Wrap</a>

Return Value

Return Type
Boolean<!– System.Boolean –>

<!– System.Web.UI.WebControls.Panel –> Go Back

ZoomLevelSet

Remarks

For the most updated Info for this topic, please check it here:<a href=“http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WebEdition.Map#ZoomLevelSet” target=“_blank”>http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WebEdition.Map#ZoomLevelSet</a>

Return Value

Return Type
ZoomLevelSet<!– ThinkGeo.MapSuite.Core.ZoomLevelSet –>

<!– ThinkGeo.MapSuite.WebEdition.Map –> Go Back

Protected Properties

Adapter

Remarks

Return Value

Return Type
ControlAdapter<!– System.Web.UI.Adapters.ControlAdapter –>

<!– System.Web.UI.Control –> Go Back

AdornmentOverlayForJson

Gets the AdornmentOverlay configuration for client side.

Remarks

Return Value

Return Type
AdornmentOverlay<!– ThinkGeo.MapSuite.WebEdition.AdornmentOverlay –>

<!– ThinkGeo.MapSuite.WebEdition.Map –> Go Back

CenterX

Gets or sets a double value for center X of current viewport.

Remarks

For the most updated Info for this topic, please check it here:<a href=“http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WebEdition.Map#CenterX” target=“_blank”>http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WebEdition.Map#CenterX</a>

Return Value

Return Type
Double<!– System.Double –>

<!– ThinkGeo.MapSuite.WebEdition.Map –> Go Back

CenterY

Gets or sets a double value for center Y of current viewport.

Remarks

For the most updated Info for this topic, please check it here:<a href=“http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WebEdition.Map#CenterY” target=“_blank”>http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WebEdition.Map#CenterY</a>

Return Value

Return Type
Double<!– System.Double –>

<!– ThinkGeo.MapSuite.WebEdition.Map –> Go Back

ChildControlsCreated

Remarks

Return Value

Return Type
Boolean<!– System.Boolean –>

<!– System.Web.UI.Control –> Go Back

ClientIDSeparator

Remarks

Return Value

Return Type
Char<!– System.Char –>

<!– System.Web.UI.Control –> Go Back

ClientResolutions

Gets a collection of client resolutions for zoom level set.

Remarks

Return Value

Return Type
Collection<Double><!– System.Collections.ObjectModel.Collection{System.Double} –>

<!– ThinkGeo.MapSuite.WebEdition.Map –> Go Back

DynamicOverlayForJson

Gets the DynamicOverlay configuration for client side.

Remarks

Return Value

Return Type
LayerOverlay<!– ThinkGeo.MapSuite.WebEdition.LayerOverlay –>

<!– ThinkGeo.MapSuite.WebEdition.Map –> Go Back

Events

Remarks

For the most updated Info for this topic, please check it here:<a href=“http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WebEdition.Map#Public_Events” target=“_blank”>http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WebEdition.Map#Public_Events</a>

Return Value

Return Type
EventHandlerList<!– System.ComponentModel.EventHandlerList –>

<!– System.Web.UI.Control –> Go Back

HasBaseLayerChangedEvent

Gets a flag whether raise base overlay changed event on the client side.

Remarks

Return Value

Return Type
Boolean<!– System.Boolean –>

<!– ThinkGeo.MapSuite.WebEdition.Map –> Go Back

HasChildViewState

Remarks

Return Value

Return Type
Boolean<!– System.Boolean –>

<!– System.Web.UI.Control –> Go Back

HasClickEvent

Gets a flag whether raise click event on the client side.

Remarks

For the most updated Info for this topic, please check it here:<a href=“http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WebEdition.Map#HasClickEvent” target=“_blank”>http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WebEdition.Map#HasClickEvent</a>

Return Value

Return Type
Boolean<!– System.Boolean –>

<!– ThinkGeo.MapSuite.WebEdition.Map –> Go Back

HasDoubleClickEvent

Gets a flag whether raise double click event on the client side.

Remarks

Return Value

Return Type
Boolean<!– System.Boolean –>

<!– ThinkGeo.MapSuite.WebEdition.Map –> Go Back

HasExtentChangedEvent

Gets a flag whether raise extent changed event on the client side.

Remarks

Return Value

Return Type
Boolean<!– System.Boolean –>

<!– ThinkGeo.MapSuite.WebEdition.Map –> Go Back

HasTrackShapeEndEvent

Gets a flag whether raise track shape finished event on the client side.

Remarks

Return Value

Return Type
Boolean<!– System.Boolean –>

<!– ThinkGeo.MapSuite.WebEdition.Map –> Go Back

IdSeparator

Remarks

For the most updated Info for this topic, please check it here:<a href=“http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WebEdition.Map#IdSeparator” target=“_blank”>http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WebEdition.Map#IdSeparator</a>

Return Value

Return Type
Char<!– System.Char –>

<!– System.Web.UI.Control –> Go Back

IsTrackingViewState

Remarks

Return Value

Return Type
Boolean<!– System.Boolean –>

<!– System.Web.UI.Control –> Go Back

LoadViewStateByID

Remarks

Return Value

Return Type
Boolean<!– System.Boolean –>

<!– System.Web.UI.Control –> Go Back

MarkerOverlayForJson

Gets the MarkerOverlay configuration for client side.

Remarks

Return Value

Return Type
InMemoryMarkerOverlay<!– ThinkGeo.MapSuite.WebEdition.InMemoryMarkerOverlay –>

<!– ThinkGeo.MapSuite.WebEdition.Map –> Go Back

PageName

Gets current page's name.

Remarks

For the most updated Info for this topic, please check it here:<a href=“http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WebEdition.Map#PageName” target=“_blank”>http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WebEdition.Map#PageName</a>

Return Value

Return Type
String<!– System.String –>

<!– ThinkGeo.MapSuite.WebEdition.Map –> Go Back

PageRootPath

Gets a string value indicats the web page's root path for loading the default icons.

Remarks

For the most updated Info for this topic, please check it here:<a href=“http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WebEdition.Map#PageRootPath” target=“_blank”>http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WebEdition.Map#PageRootPath</a>

Return Value

Return Type
String<!– System.String –>

<!– ThinkGeo.MapSuite.WebEdition.Map –> Go Back

StaticOverlayForJson

Gets the StaticOverlay configuration for client side.

Remarks

Return Value

Return Type
LayerOverlay<!– ThinkGeo.MapSuite.WebEdition.LayerOverlay –>

<!– ThinkGeo.MapSuite.WebEdition.Map –> Go Back

TagKey

Remarks

For the most updated Info for this topic, please check it here:<a href=“http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WebEdition.Map#TagKey” target=“_blank”>http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WebEdition.Map#TagKey</a>

Return Value

Return Type
HtmlTextWriterTag<!– System.Web.UI.HtmlTextWriterTag –>

<!– System.Web.UI.WebControls.WebControl –> Go Back

TagName

Remarks

For the most updated Info for this topic, please check it here:<a href=“http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WebEdition.Map#TagName” target=“_blank”>http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WebEdition.Map#TagName</a>

Return Value

Return Type
String<!– System.String –>

<!– System.Web.UI.WebControls.WebControl –> Go Back

ViewState

Remarks

Return Value

Return Type
StateBag<!– System.Web.UI.StateBag –>

<!– System.Web.UI.Control –> Go Back

ViewStateIgnoresCase

Remarks

Return Value

Return Type
Boolean<!– System.Boolean –>

<!– System.Web.UI.Control –> Go Back

Public Events

BaseOverlayChanged

Occurs when the base overlay is changed.

Remarks

This event is raised when you switch the active base overlay in the &lt;strong&gt;OverlaySwitcher&lt;/strong&gt; panel; for example, from GoogleOverlay to YahooOverlay. You can handle this event to add your specific logic for that overlay.

Event Arguments

Event Arguments
BaseOverlayChangedEventArgs<!– ThinkGeo.MapSuite.WebEdition.BaseOverlayChangedEventArgs –>

<!– ThinkGeo.MapSuite.WebEdition.Map –> Go Back

Click

Occurs when the map control is clicked.

Remarks

The Click event is raised when the map control is clicked.

Event Arguments

Event Arguments
MapClickedEventArgs<!– ThinkGeo.MapSuite.WebEdition.MapClickedEventArgs –>

<!– ThinkGeo.MapSuite.WebEdition.Map –> Go Back

DataBinding

Remarks

Event Arguments

Event Arguments
EventArgs<!– System.EventArgs –>

<!– System.Web.UI.Control –> Go Back

Disposed

Remarks

For the most updated Info for this topic, please check it here:<a href=“http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WebEdition.Map#Disposed” target=“_blank”>http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WebEdition.Map#Disposed</a>

Event Arguments

Event Arguments
EventArgs<!– System.EventArgs –>

<!– System.Web.UI.Control –> Go Back

DoubleClick

Occurs when the map control is double-clicked.

Remarks

This event is raised when you double click on the map.&lt;strong&gt;Note:&lt;/strong&gt; When you add event handlers to both &lt;strong&gt;Click&lt;/strong&gt; and &lt;strong&gt;DoubleClick&lt;/strong&gt; events, only the &lt;strong&gt;Click&lt;/strong&gt; event will be fired.

Event Arguments

Event Arguments
MapClickedEventArgs<!– ThinkGeo.MapSuite.WebEdition.MapClickedEventArgs –>

<!– ThinkGeo.MapSuite.WebEdition.Map –> Go Back

ExtentChanged

Occurs when the map extent is changed.

Remarks

This event is raised when you pan or zoom the map at the client side and cause the map extent to change.

Event Arguments

Event Arguments
ExtentChangedEventArgs<!– ThinkGeo.MapSuite.WebEdition.ExtentChangedEventArgs –>

<!– ThinkGeo.MapSuite.WebEdition.Map –> Go Back

Init

Remarks

Event Arguments

Event Arguments
EventArgs<!– System.EventArgs –>

<!– System.Web.UI.Control –> Go Back

Load

Remarks

Event Arguments

Event Arguments
EventArgs<!– System.EventArgs –>

<!– System.Web.UI.Control –> Go Back

PreRender

Remarks

Event Arguments

Event Arguments
EventArgs<!– System.EventArgs –>

<!– System.Web.UI.Control –> Go Back

TrackShapeFinished

Occurs each time a shape is drawn.

Remarks

This event is raised after you draw a shape on the map. If you add an event handler to this event, each time you draw a shape at the client it will cause the page to postback. You can get the drawn features from the &lt;strong&gt;Map.EditOverlay.Features&lt;/strong&gt; collection.

Event Arguments

Event Arguments
EventArgs<!– System.EventArgs –>

<!– ThinkGeo.MapSuite.WebEdition.Map –> Go Back

Unload

Remarks

Event Arguments

Event Arguments
EventArgs<!– System.EventArgs –>

<!– System.Web.UI.Control –> Go Back

NOTOC WebEdition ThinkGeo.MapSuite.WebEdition UpdateDocumentation

thinkgeo.mapsuite.webedition.map.1440040135.txt.gz · Last modified: 2015/09/22 08:49 (external edit)