User Tools

Site Tools


api:thinkgeo.mapsuite.webforms.map

ThinkGeo.MapSuite.WebForms.Map

Inheritance Hierarchy

  • System.Object
    • System.Web.UI.Control
      • System.Web.UI.WebControls.WebControl
        • System.Web.UI.WebControls.Panel
          • ThinkGeo.MapSuite.WebForms.Map

Members Summary

Public Constructors

Map()

  • Initialize a new instance of the Map class.
Remarks
  • N/A
Parameters

Map(String,Int32,Int32)

  • Initialize a new instance of the Map class with identifier, map width, and map height specified.
Remarks
  • N/A
Parameters
  • id
    • Type:String
    • Description:N/A
  • width
    • Type:Int32
    • Description:N/A
  • height
    • Type:Int32
    • Description:N/A

Protected Constructors

Public Methods

GetScreenDistanceBetweenTwoWorldPoints(PointShape,PointShape)

  • N/A
Remarks
  • N/A
Return Value
  • Type:Single
  • Description:The lengh in pixels between the two points.
Parameters
  • startPoint
    • Description:The first point in world coordinates.
  • endpoint
    • Description:The second point in world coordinates.

GetWorldDistanceBetweenTwoScreenPoints(ScreenPointF,ScreenPointF,DistanceUnit)

  • N/A
Remarks
  • N/A
Return Value
  • Type:Double
  • Description:The distance value in the specified unit between two screen points.
Parameters
  • startPoint
    • Description:The first point in screen coordinates.
  • endpoint
    • Description:The second point in screen coordinates.
  • unitOfDistance
    • Description:The unit of return distance.

Pan(PanDirection,Int32)

  • N/A
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 CurrentExtent.Width* 0.2 and the offset in the Y direction is CurrentExtent.Hight*0.2.
Return Value
  • Type:Void
  • Description:N/A
Parameters
  • panDirection
    • Description:Up, Down, Left, Right, UpperRight, LowerRight, UpperLeft, LowerLeft.
  • percentage
    • Type:Int32
    • Description:The percentage of the current extent.

Pan(Single,Int32)

  • N/A
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 CurrentExtent.Width* 0.2 and the offset in the Y direction is CurrentExtent.Hight*0.2.
Return Value
  • Type:Void
  • Description:N/A
Parameters
  • degree
    • Type:Single
    • Description:The angle value that determines the panning direction.
  • percentage
    • Type:Int32
    • Description:The percentage of the current extent.

ToScreenCoordinate(Double,Double)

  • N/A
Remarks
  • This method converts X, Y world coordinates to a point in screen coordinates.
Return Value
Parameters
  • worldX
    • Type:Double
    • Description:The X world coordinate.
  • worldY
    • Type:Double
    • Description:The Y world coordinate.

ToScreenCoordinate(PointShape)

  • N/A
Remarks
  • This method converts the coordinates of a point shape to a point in screen coordinates.
Return Value
Parameters
  • worldPoint
    • Description:A point shape in world coordinates.

ToWorldCoordinate(Single,Single)

  • N/A
Remarks
  • This method converts X, Y screen coordinates to a point shape in world coodinates.
Return Value
  • Description:A point shape in world coordinates.
Parameters
  • screenX
    • Type:Single
    • Description:The X-value in pixels referenced to the screen origin.
  • screenY
    • Type:Single
    • Description:The Y-value in pixels referenced to the screen origin.

ToWorldCoordinate(ScreenPointF)

  • N/A
Remarks
  • This method converts a screen point to a point in world coordinates.
Return Value
  • Description:A point shape in world coordinates.
Parameters
  • screenPoint
    • Description:The point (in screen coordinates) to convert to world coordinates.

CenterAt(PointShape)

  • N/A
Remarks
  • N/A
Return Value
  • Type:Void
  • Description:N/A
Parameters
  • worldPoint
    • Description:The target point in world coordinates to set as the center of the map's CurrentExtent.

CenterAt(Double,Double)

  • N/A
Remarks
  • This method changes the map center to a point specified by the X, Y coordinates you provide.
Return Value
  • Type:Void
  • Description:N/A
Parameters
  • worldX
    • Type:Double
    • Description:The X-value in world coordinates of the new center.
  • worldY
    • Type:Double
    • Description:The Y-value in world coordinates of the new center.

ZoomTo(PointShape,Double)

  • N/A
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
  • Type:Void
  • Description:N/A
Parameters
  • center
    • Description:The new center point of the map.
  • scale
    • Type:Double
    • Description:The new scale that the map will zoom to.

ZoomIn()

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

ZoomOut()

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

ZoomToMarkers(IEnumerable<Marker>)

  • N/A
Remarks
  • This method changes the map's current extent to the smallest BoundingBox that includes all of the markers you specified.
Return Value
  • Type:Void
  • Description:N/A
Parameters
  • markers
    • Type:IEnumerable<Marker>
    • Description:The markers that will be included in the new extent.

ZoomToScale(Double)

  • N/A
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
  • Type:Void
  • Description:N/A
Parameters
  • targetScale
    • Type:Double
    • Description:The scale the map will zoom to.

GetBitmap()

  • N/A
Remarks
  • This method will generate a bitmap image with the current map settings, including width, height, current extent, etc.
Return Value
  • Type:Bitmap
  • Description:A bitmap that is generated based on the current map settings.
Parameters

GetBitmap(Int32,Int32)

  • N/A
Remarks
  • This method generates a bitmap map image with the current map settings, using the image width and height that you specify.
Return Value
  • Type:Bitmap
  • Description:A bitmap that is generated base on the current map settings.
Parameters
  • width
    • Type:Int32
    • Description:The width of bitmap.
  • height
    • Type:Int32
    • Description:The height of bitmap.

ToJson()

  • N/A
Remarks
  • N/A
Return Value
  • Type:String
  • Description:A JSON string that contains map information for creating the map at the client side.
Parameters

RenderBeginTag(HtmlTextWriter)

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

RenderEndTag(HtmlTextWriter)

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

ApplyStyle(Style)

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

CopyBaseAttributes(WebControl)

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

MergeStyle(Style)

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

SetTraceData(Object,Object)

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

SetTraceData(Object,Object,Object)

  • N/A
Remarks
  • N/A
Return Value
  • Type:Void
  • Description:N/A
Parameters
  • tracedObject
    • Type:Object
    • Description:N/A
  • traceDataKey
    • Type:Object
    • Description:N/A
  • traceDataValue
    • Type:Object
    • Description:N/A

ApplyStyleSheetSkin(Page)

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

DataBind()

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

Focus()

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

RenderControl(HtmlTextWriter)

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

Dispose()

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

ResolveUrl(String)

  • N/A
Remarks
  • N/A
Return Value
  • Type:String
  • Description:N/A
Parameters
  • relativeUrl
    • Type:String
    • Description:N/A

ResolveClientUrl(String)

  • N/A
Remarks
  • N/A
Return Value
  • Type:String
  • Description:N/A
Parameters
  • relativeUrl
    • Type:String
    • Description:N/A

FindControl(String)

  • N/A
Remarks
  • N/A
Return Value
  • Type:Control
  • Description:N/A
Parameters
  • id
    • Type:String
    • Description:N/A

HasControls()

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

SetRenderMethodDelegate(RenderMethod)

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

GetRouteUrl(Object)

  • N/A
Remarks
  • N/A
Return Value
  • Type:String
  • Description:N/A
Parameters
  • routeParameters
    • Type:Object
    • Description:N/A

GetRouteUrl(String,Object)

  • N/A
Remarks
  • N/A
Return Value
  • Type:String
  • Description:N/A
Parameters
  • routeName
    • Type:String
    • Description:N/A
  • routeParameters
    • Type:Object
    • Description:N/A

GetRouteUrl(RouteValueDictionary)

  • N/A
Remarks
  • N/A
Return Value
  • Type:String
  • Description:N/A
Parameters
  • routeParameters
    • Type:RouteValueDictionary
    • Description:N/A

GetRouteUrl(String,RouteValueDictionary)

  • N/A
Remarks
  • N/A
Return Value
  • Type:String
  • Description:N/A
Parameters
  • routeName
    • Type:String
    • Description:N/A
  • routeParameters
    • Type:RouteValueDictionary
    • Description:N/A

GetUniqueIDRelativeTo(Control)

  • N/A
Remarks
  • N/A
Return Value
  • Type:String
  • Description:N/A
Parameters
  • control
    • Type:Control
    • Description:N/A

ToString()

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

Equals(Object)

  • N/A
Remarks
  • N/A
Return Value
  • Type:Boolean
  • Description:N/A
Parameters
  • obj
    • Type:Object
    • Description:N/A

GetHashCode()

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

GetType()

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

Protected Methods

SyncClientZoomLevels(IEnumerable<ZoomLevel>)

  • N/A
Remarks
  • This method actually fills the Map.ClientZoomLevelScales collection with a zoomlevel collection that passed in. Note: If this method meets a zoomlevel with zero scale, it stops the filling. Thus, the zoomlevels that follow are ignored, even if their scales are not zero.
Return Value
  • Type:Void
  • Description:N/A
Parameters
  • zoomLevels
    • Type:IEnumerable<ZoomLevel>
    • Description:A collection of zoomlevels whose scales will be synchronized to the client zoomlevels.

SyncClientZoomLevels(ZoomLevelSet)

  • N/A
Remarks
  • This method actually fills the Map.ClientZoomLevelScales collection by the ZoomLevelSet object that you pass in. If the ZoomLevelSet object defines custom zoomlevels, this method will use ZoomLevelSet.CustomZoomLevels to fill the ClientZoomLevelScales collection. Otherwise, it will step through the default 20 zoomlevels to fill that collection. Note: If this method meets a zoomlevel with zero scale, it stops the filling. Thus, the zoomlevels that follow are ignored, even if their scales are not zero.
Return Value
  • Type:Void
  • Description:N/A
Parameters
  • clientZoomLevelSet
    • Description:A ZoomLevelSet object used to fill the ClientZoomLevelScales collection.

OnClick(MapClickedEventArgs)

  • N/A
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.Notes to Inheritors: 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
  • Type:Void
  • Description:N/A
Parameters

OnDoubleClick(MapClickedEventArgs)

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

OnTrackShapeFinished()

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

OnBaseOverlayChanged(BaseOverlayChangedEventArgs)

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

OnExtentChanged()

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

CreateControlStyle()

  • N/A
Remarks
  • N/A
Return Value
  • Type:Style
  • Description:A System.Web.UI.WebControls.Style that is used to implement all style-related properties of the control.
Parameters

OnInit(EventArgs)

  • N/A
Remarks
  • N/A
Return Value
  • Type:Void
  • Description:N/A
Parameters
  • e
    • Type:EventArgs
    • Description:A System.EventArgs object that contains the event data.

OnLoad(EventArgs)

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

OnPreRender(EventArgs)

  • N/A
Remarks
  • N/A
Return Value
  • Type:Void
  • Description:N/A
Parameters
  • e
    • Type:EventArgs
    • Description:A System.EventArgs object that contains the event data.

RegisterJavascriptLibraryCore()

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

Render(HtmlTextWriter)

  • N/A
Remarks
  • N/A
Return Value
  • Type:Void
  • Description:N/A
Parameters
  • writer
    • Type:HtmlTextWriter
    • Description:The System.Web.UI.HtmlTextWriter object that receives the server control content.

RenderChildren(HtmlTextWriter)

  • N/A
Remarks
  • N/A
Return Value
  • Type:Void
  • Description:N/A
Parameters
  • writer
    • Type:HtmlTextWriter
    • Description:The System.Web.UI.HtmlTextWriter object that receives the rendered content.

SaveViewState()

  • N/A
Remarks
  • N/A
Return Value
  • Type:Object
  • Description:Returns the server control's current view state. If there is no view state associated with the control, this method returns null.
Parameters

LoadViewState(Object)

  • N/A
Remarks
  • N/A
Return Value
  • Type:Void
  • Description:N/A
Parameters
  • savedState
    • Type:Object
    • Description:An System.Object that represents the control state to be restored.

OnUnload(EventArgs)

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

AddAttributesToRender(HtmlTextWriter)

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

AddDisplayInlineBlockIfNeeded(HtmlTextWriter)

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

TrackViewState()

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

RenderContents(HtmlTextWriter)

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

BeginRenderTracing(TextWriter,Object)

  • N/A
Remarks
  • N/A
Return Value
  • Type:Void
  • Description:N/A
Parameters
  • writer
    • Type:TextWriter
    • Description:N/A
  • traceObject
    • Type:Object
    • Description:N/A

EndRenderTracing(TextWriter,Object)

  • N/A
Remarks
  • N/A
Return Value
  • Type:Void
  • Description:N/A
Parameters
  • writer
    • Type:TextWriter
    • Description:N/A
  • traceObject
    • Type:Object
    • Description:N/A

OnDataBinding(EventArgs)

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

DataBind(Boolean)

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

DataBindChildren()

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

PreventAutoID()

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

AddParsedSubObject(Object)

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

EnsureID()

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

GetUniqueIDPrefix()

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

InitRecursive(Control)

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

InitRecursiveAsync(Control,Page)

  • N/A
Remarks
  • N/A
Return Value
  • Type:Task
  • Description:N/A
Parameters
  • namingContainer
    • Type:Control
    • Description:N/A
  • page
    • Type:Page
    • Description:N/A

ClearChildState()

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

ClearChildControlState()

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

ClearChildViewState()

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

ClearEffectiveClientIDMode()

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

ClearCachedClientID()

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

LoadControlStateInternal(Object)

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

LoadControlState(Object)

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

LoadViewStateRecursive(Object)

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

LoadChildViewStateByID(ArrayList)

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

LoadChildViewStateByIndex(ArrayList)

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

ResolvePhysicalOrVirtualPath(String,VirtualPath&,String&)

  • N/A
Remarks
  • N/A
Return Value
  • Type:Void
  • Description:N/A
Parameters
  • path
    • Type:String
    • Description:N/A
  • virtualPath
    • Type:VirtualPath&
    • Description:N/A
  • physicalPath
    • Type:String&
    • Description:N/A

MapPathSecure(String)

  • N/A
Remarks
  • N/A
Return Value
  • Type:String
  • Description:N/A
Parameters
  • virtualPath
    • Type:String
    • Description:N/A

OpenFile(String)

  • N/A
Remarks
  • N/A
Return Value
  • Type:Stream
  • Description:N/A
Parameters
  • path
    • Type:String
    • Description:N/A

OpenFileAndGetDependency(VirtualPath,String,CacheDependency&)

  • N/A
Remarks
  • N/A
Return Value
  • Type:Stream
  • Description:N/A
Parameters
  • virtualPath
    • Type:VirtualPath
    • Description:N/A
  • physicalPath
    • Type:String
    • Description:N/A
  • dependency
    • Type:CacheDependency&
    • Description:N/A

LoadRecursive()

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

LoadRecursiveAsync(Page)

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

PreRenderRecursiveInternal()

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

PreRenderRecursiveInternalAsync(Page)

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

EstimateStateSize(Object)

  • N/A
Remarks
  • N/A
Return Value
  • Type:Int32
  • Description:N/A
Parameters
  • state
    • Type:Object
    • Description:N/A

BuildProfileTree(String,Boolean)

  • N/A
Remarks
  • N/A
Return Value
  • Type:Void
  • Description:N/A
Parameters
  • parentId
    • Type:String
    • Description:N/A
  • calcViewState
    • Type:Boolean
    • Description:N/A

SaveControlStateInternal()

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

SaveControlState()

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

SaveViewStateRecursive(ViewStateMode)

  • N/A
Remarks
  • N/A
Return Value
  • Type:Object
  • Description:N/A
Parameters
  • inheritedMode
    • Type:ViewStateMode
    • Description:N/A

RenderChildrenInternal(HtmlTextWriter,ICollection)

  • N/A
Remarks
  • N/A
Return Value
  • Type:Void
  • Description:N/A
Parameters
  • writer
    • Type:HtmlTextWriter
    • Description:N/A
  • children
    • Type:ICollection
    • Description:N/A

RenderControl(HtmlTextWriter,ControlAdapter)

  • N/A
Remarks
  • N/A
Return Value
  • Type:Void
  • Description:N/A
Parameters
  • writer
    • Type:HtmlTextWriter
    • Description:N/A
  • adapter
    • Type:ControlAdapter
    • Description:N/A

UnloadRecursive(Boolean)

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

RaiseBubbleEvent(Object,EventArgs)

  • N/A
Remarks
  • N/A
Return Value
  • Type:Void
  • Description:N/A
Parameters
  • source
    • Type:Object
    • Description:N/A
  • args
    • Type:EventArgs
    • Description:N/A

OnBubbleEvent(Object,EventArgs)

  • N/A
Remarks
  • N/A
Return Value
  • Type:Boolean
  • Description:N/A
Parameters
  • source
    • Type:Object
    • Description:N/A
  • args
    • Type:EventArgs
    • Description:N/A

SetValidateRequestModeInternal(ValidateRequestMode,Boolean)

  • N/A
Remarks
  • N/A
Return Value
  • Type:Void
  • Description:N/A
Parameters
  • value
    • Type:ValidateRequestMode
    • Description:N/A
  • setDirty
    • Type:Boolean
    • Description:N/A

CalculateEffectiveValidateRequest()

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

AddedControl(Control,Int32)

  • N/A
Remarks
  • N/A
Return Value
  • Type:Void
  • Description:N/A
Parameters
  • control
    • Type:Control
    • Description:N/A
  • index
    • Type:Int32
    • Description:N/A

CreateControlCollection()

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

CreateChildControls()

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

DirtyNameTable()

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

FindControl(String,Int32)

  • N/A
Remarks
  • N/A
Return Value
  • Type:Control
  • Description:N/A
Parameters
  • id
    • Type:String
    • Description:N/A
  • pathOffset
    • Type:Int32
    • Description:N/A

FindControlFromPageIfNecessary(String)

  • N/A
Remarks
  • N/A
Return Value
  • Type:Control
  • Description:N/A
Parameters
  • id
    • Type:String
    • Description:N/A

ClearNamingContainer()

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

GetDesignModeState()

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

HasRenderingData()

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

HasRenderDelegate()

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

IsLiteralContent()

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

EnsureChildControls()

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

SetControlBuilder(ControlBuilder)

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

RemovedControl(Control)

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

SetDesignMode()

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

SetDesignModeState(IDictionary)

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

ResolveAdapter()

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

ValidateEvent(String)

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

ValidateEvent(String,String)

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

HasEvents()

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

ShouldSerializeEnableTheming()

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

SetEnableViewStateInternal(Boolean)

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

GetXhtmlConformanceSection()

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

GetTemplateControl()

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

IsDescendentOf(Control)

  • N/A
Remarks
  • N/A
Return Value
  • Type:Boolean
  • Description:N/A
Parameters
  • ancestor
    • Type:Control
    • Description:N/A

Finalize()

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

MemberwiseClone()

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

Public Properties

CallbackResult

  • N/A
Remarks
  • N/A
Return Value
  • Type:String

GeoCanvas

  • N/A
Remarks
  • N/A
Return Value

ZoomLevelSet

  • N/A
Remarks
  • N/A
Return Value

MaxExtent

  • N/A
Remarks
  • N/A
Return Value

WidthInPixels

  • N/A
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.Note: When the map width is a percent value, the WidthInPixels 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
  • Type:Double

HeightInPixels

  • N/A
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.Note: When the map height is a percent value, the HeightInPixels 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
  • Type:Double

ClientID

  • N/A
Remarks
  • N/A
Return Value
  • Type:String

UniqueID

  • N/A
Remarks
  • N/A
Return Value
  • Type:String

MapBackground

  • N/A
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

ContextMenu

  • N/A
Remarks
  • N/A
Return Value

CurrentExtent

  • N/A
Remarks
  • N/A
Return Value

Cursor

  • N/A
Remarks
  • N/A
Return Value

WebConfigRegisterMode

  • N/A
Remarks
  • N/A
Return Value

ResourceDeploymentMode

  • N/A
Remarks
  • N/A
Return Value

ActiveBaseOverlay

  • N/A
Remarks
  • The map can contain multiple base overlays, though only one of them can be displayed at a time. The ActiveBaseOverlay property specifies the one that is currently displayed. When you switch the base overlays in the OverlaySwitcher, the currently selected overlay will be synchronized to this property after postback.
Return Value

BackgroundOverlay

  • N/A
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 ActiveBaseOverlay property.
Return Value

StaticOverlay

  • N/A
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

DynamicOverlay

  • N/A
Remarks
  • N/A
Return Value

MarkerOverlay

  • N/A
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

CustomOverlays

  • N/A
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
Remarks
  • N/A
Return Value

HighlightOverlay

  • N/A
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.Note: 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

AdornmentOverlay

  • N/A
Remarks
  • N/A
Return Value

MapTools

  • N/A
Remarks
  • N/A
Return Value

MapUnit

  • N/A
Remarks
  • N/A
Return Value

OnClientDrawEnd

  • N/A
Remarks
  • The OnClientDrawEnd 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
  • Type:String

OnClientEditEnd

  • N/A
Remarks
  • The OnClientEditEnd 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
  • Type:String

OnClientClick

  • N/A
Remarks
  • N/A
Return Value
  • Type:String

OnClientExtentChanged

  • N/A
Remarks
  • N/A
Return Value
  • Type:String

OnClientBaseOverlayChanged

  • N/A
Remarks
  • N/A
Return Value
  • Type:String

OnClientDoubleClick

  • N/A
Remarks
  • N/A
Return Value
  • Type:String

Popups

  • N/A
Remarks
  • N/A
Return Value
Remarks
  • N/A
Return Value

CurrentScale

  • N/A
Remarks
  • N/A
Return Value
  • Type:Double

CustomCursorUri

  • N/A
Remarks
  • N/A
Return Value
  • Type:Uri

IsDefaultJavascriptLibraryDisabled

  • N/A
Remarks
  • N/A
Return Value
  • Type:Boolean

IsDomTreeCollectedWhenPostback

  • N/A
Remarks
  • N/A
Return Value
  • Type:Boolean

BackImageUrl

  • N/A
Remarks
  • N/A
Return Value
  • Type:String

DefaultButton

  • N/A
Remarks
  • N/A
Return Value
  • Type:String

Direction

  • N/A
Remarks
  • N/A
Return Value
  • Type:ContentDirection

GroupingText

  • N/A
Remarks
  • N/A
Return Value
  • Type:String

HorizontalAlign

  • N/A
Remarks
  • N/A
Return Value
  • Type:HorizontalAlign

SupportsDisabledAttribute

  • N/A
Remarks
  • N/A
Return Value
  • Type:Boolean

ScrollBars

  • N/A
Remarks
  • N/A
Return Value
  • Type:ScrollBars

Wrap

  • N/A
Remarks
  • N/A
Return Value
  • Type:Boolean

AccessKey

  • N/A
Remarks
  • N/A
Return Value
  • Type:String

Attributes

  • N/A
Remarks
  • N/A
Return Value
  • Type:AttributeCollection

BackColor

  • N/A
Remarks
  • N/A
Return Value
  • Type:Color

BorderColor

  • N/A
Remarks
  • N/A
Return Value
  • Type:Color

BorderWidth

  • N/A
Remarks
  • N/A
Return Value
  • Type:Unit

BorderStyle

  • N/A
Remarks
  • N/A
Return Value
  • Type:BorderStyle

ControlStyle

  • N/A
Remarks
  • N/A
Return Value
  • Type:Style

ControlStyleCreated

  • N/A
Remarks
  • N/A
Return Value
  • Type:Boolean

CssClass

  • N/A
Remarks
  • N/A
Return Value
  • Type:String

Style

  • N/A
Remarks
  • N/A
Return Value
  • Type:CssStyleCollection

Enabled

  • N/A
Remarks
  • N/A
Return Value
  • Type:Boolean

EnableTheming

  • N/A
Remarks
  • N/A
Return Value
  • Type:Boolean

Font

  • N/A
Remarks
  • N/A
Return Value
  • Type:FontInfo

ForeColor

  • N/A
Remarks
  • N/A
Return Value
  • Type:Color

HasAttributes

  • N/A
Remarks
  • N/A
Return Value
  • Type:Boolean

Height

  • N/A
Remarks
  • N/A
Return Value
  • Type:Unit

SkinID

  • N/A
Remarks
  • N/A
Return Value
  • Type:String

TabIndex

  • N/A
Remarks
  • N/A
Return Value
  • Type:Int16

ToolTip

  • N/A
Remarks
  • N/A
Return Value
  • Type:String

Width

  • N/A
Remarks
  • N/A
Return Value
  • Type:Unit

ClientIDMode

  • N/A
Remarks
  • N/A
Return Value
  • Type:ClientIDMode

ID

  • N/A
Remarks
  • N/A
Return Value
  • Type:String

EnableViewState

  • N/A
Remarks
  • N/A
Return Value
  • Type:Boolean

ViewStateMode

  • N/A
Remarks
  • N/A
Return Value
  • Type:ViewStateMode

NamingContainer

  • N/A
Remarks
  • N/A
Return Value
  • Type:Control

BindingContainer

  • N/A
Remarks
  • N/A
Return Value
  • Type:Control

DataItemContainer

  • N/A
Remarks
  • N/A
Return Value
  • Type:Control

DataKeysContainer

  • N/A
Remarks
  • N/A
Return Value
  • Type:Control

Page

  • N/A
Remarks
  • N/A
Return Value
  • Type:Page

RenderingCompatibility

  • N/A
Remarks
  • N/A
Return Value
  • Type:Version

TemplateControl

  • N/A
Remarks
  • N/A
Return Value
  • Type:TemplateControl

Parent

  • N/A
Remarks
  • N/A
Return Value
  • Type:Control

TemplateSourceDirectory

  • N/A
Remarks
  • N/A
Return Value
  • Type:String

AppRelativeTemplateSourceDirectory

  • N/A
Remarks
  • N/A
Return Value
  • Type:String

Site

  • N/A
Remarks
  • N/A
Return Value
  • Type:ISite

Visible

  • N/A
Remarks
  • N/A
Return Value
  • Type:Boolean

Controls

  • N/A
Remarks
  • N/A
Return Value
  • Type:ControlCollection

ValidateRequestMode

  • N/A
Remarks
  • N/A
Return Value
  • Type:ValidateRequestMode

Protected Properties

ClientZoomLevelScales

  • N/A
Remarks
  • This property gives you an easy way to customize the client zoomlevels. By default, we have 20 zoomlevels. The default scales are:ZoomLevel01 = 590591790 ZoomLevel02 = 295295895 ZoomLevel03 = 147647947.5 ZoomLevel04 = 73823973.75 ZoomLevel05 = 36911986.875 ZoomLevel06 = 18455993.4375 ZoomLevel07 = 9227996.71875 ZoomLevel08 = 4613998.359375 ZoomLevel09 = 2306999.1796875 ZoomLevel10 = 1153499.58984375 ZoomLevel11 = 576749.794921875 ZoomLevel12 = 288374.8974609375 ZoomLevel13 = 144187.44873046875 ZoomLevel14 = 72093.724365234375 ZoomLevel15 = 36046.8621826171875 ZoomLevel16 = 18023.43109130859375 ZoomLevel17 = 9011.715545654296875 ZoomLevel18 = 4505.8577728271484375 ZoomLevel19 = 2252.92888641357421875 ZoomLevel20 = 1126.464443206787109375If these zoomlevel definitions don't match your requirements, you can just clear this collection and add your own scale definitions. The scales in this collection will be set to the client zoomlevels in sequence. For example, ClientZoomLevelScales[0] is set to zoomlevel01, ClientZoomLevelScales[1] is set to zoomlevel02 and so on. The number of the items in this collection determines the number of the client zoomlevels. If you already have a customized ZoomLevelSet object, you can use the SyncClientZoomLevels method to automatically fill the ClientZoomLevelScales collection from the ZoomLevelSet.
Return Value
  • Type:Collection<Double>

ClientResolutions

  • N/A
Remarks
  • N/A
Return Value
  • Type:Collection<Double>

StaticOverlayForJson

  • N/A
Remarks
  • N/A
Return Value

DynamicOverlayForJson

  • N/A
Remarks
  • N/A
Return Value

MarkerOverlayForJson

  • N/A
Remarks
  • N/A
Return Value

AdornmentOverlayForJson

  • N/A
Remarks
  • N/A
Return Value

PageName

  • N/A
Remarks
  • N/A
Return Value
  • Type:String

HasClickEvent

  • N/A
Remarks
  • N/A
Return Value
  • Type:Boolean

HasDoubleClickEvent

  • N/A
Remarks
  • N/A
Return Value
  • Type:Boolean

HasBaseLayerChangedEvent

  • N/A
Remarks
  • N/A
Return Value
  • Type:Boolean

HasTrackShapeEndEvent

  • N/A
Remarks
  • N/A
Return Value
  • Type:Boolean

HasExtentChangedEvent

  • N/A
Remarks
  • N/A
Return Value
  • Type:Boolean

CenterX

  • N/A
Remarks
  • N/A
Return Value
  • Type:Double

CenterY

  • N/A
Remarks
  • N/A
Return Value
  • Type:Double

Zoom

  • N/A
Remarks
  • N/A
Return Value
  • Type:Int32

PageRootPath

  • N/A
Remarks
  • N/A
Return Value
  • Type:String

MapWidth

  • N/A
Remarks
  • N/A
Return Value
  • Type:Double

MapHeight

  • N/A
Remarks
  • N/A
Return Value
  • Type:Double

IsClientScriptRegistered

  • N/A
Remarks
  • N/A
Return Value
  • Type:Boolean

IsEnabled

  • N/A
Remarks
  • N/A
Return Value
  • Type:Boolean

RequiresLegacyRendering

  • N/A
Remarks
  • N/A
Return Value
  • Type:Boolean

TagKey

  • N/A
Remarks
  • N/A
Return Value
  • Type:HtmlTextWriterTag

TagName

  • N/A
Remarks
  • N/A
Return Value
  • Type:String

EffectiveClientIDMode

  • N/A
Remarks
  • N/A
Return Value
  • Type:ClientIDMode

UniqueClientID

  • N/A
Remarks
  • N/A
Return Value
  • Type:String

StaticClientID

  • N/A
Remarks
  • N/A
Return Value
  • Type:String

AdapterInternal

  • N/A
Remarks
  • N/A
Return Value
  • Type:ControlAdapter

PredictableClientID

  • N/A
Remarks
  • N/A
Return Value
  • Type:String

ClientIDSeparator

  • N/A
Remarks
  • N/A
Return Value
  • Type:Char

Context

  • N/A
Remarks
  • N/A
Return Value
  • Type:HttpContext

Adapter

  • N/A
Remarks
  • N/A
Return Value
  • Type:ControlAdapter

DesignMode

  • N/A
Remarks
  • N/A
Return Value
  • Type:Boolean

Events

  • N/A
Remarks
  • N/A
Return Value
  • Type:EventHandlerList

IsBindingContainer

  • N/A
Remarks
  • N/A
Return Value
  • Type:Boolean

IsChildControlStateCleared

  • N/A
Remarks
  • N/A
Return Value
  • Type:Boolean

IsViewStateEnabled

  • N/A
Remarks
  • N/A
Return Value
  • Type:Boolean

IdSeparator

  • N/A
Remarks
  • N/A
Return Value
  • Type:Char

IdSeparatorFromConfig

  • N/A
Remarks
  • N/A
Return Value
  • Type:Char

LoadViewStateByID

  • N/A
Remarks
  • N/A
Return Value
  • Type:Boolean

RouteCollection

  • N/A
Remarks
  • N/A
Return Value
  • Type:RouteCollection

IsReloadable

  • N/A
Remarks
  • N/A
Return Value
  • Type:Boolean

EnableLegacyRendering

  • N/A
Remarks
  • N/A
Return Value
  • Type:Boolean

IsParentedToUpdatePanel

  • N/A
Remarks
  • N/A
Return Value
  • Type:Boolean

TemplateControlVirtualDirectory

  • N/A
Remarks
  • N/A
Return Value
  • Type:VirtualPath

ControlState

  • N/A
Remarks
  • N/A
Return Value
  • Type:ControlState

HasChildViewState

  • N/A
Remarks
  • N/A
Return Value
  • Type:Boolean

ViewState

  • N/A
Remarks
  • N/A
Return Value
  • Type:StateBag

ViewStateIgnoresCase

  • N/A
Remarks
  • N/A
Return Value
  • Type:Boolean

ChildControlsCreated

  • N/A
Remarks
  • N/A
Return Value
  • Type:Boolean

IsTrackingViewState

  • N/A
Remarks
  • N/A
Return Value
  • Type:Boolean

SpacerImageUrl

  • N/A
Remarks
  • N/A
Return Value
  • Type:String

PostBackDataHandler

  • N/A
Remarks
  • N/A
Return Value
  • Type:IPostBackDataHandler

PostBackEventHandler

  • N/A
Remarks
  • N/A
Return Value
  • Type:IPostBackEventHandler

Public Events

Click

  • N/A
Remarks
  • The Click event is raised when the map control is clicked.

Event Arguments:MapClickedEventArgs

DoubleClick

  • N/A
Remarks
  • This event is raised when you double click on the map.Note: When you add event handlers to both Click and DoubleClick events, only the Click event will be fired.

Event Arguments:MapClickedEventArgs

TrackShapeFinished

  • N/A
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 Map.EditOverlay.Features collection.

Event Arguments:

BaseOverlayChanged

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

Event Arguments:BaseOverlayChangedEventArgs

ExtentChanged

  • N/A
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:ExtentChangedEventArgs

Disposed

  • N/A
Remarks
  • N/A

Event Arguments:

DataBinding

  • N/A
Remarks
  • N/A

Event Arguments:

Init

  • N/A
Remarks
  • N/A

Event Arguments:

Load

  • N/A
Remarks
  • N/A

Event Arguments:

PreRender

  • N/A
Remarks
  • N/A

Event Arguments:

Unload

  • N/A
Remarks
  • N/A

Event Arguments:

api/thinkgeo.mapsuite.webforms.map.txt · Last modified: 2017/01/11 06:59 (external edit)