ThinkGeo.MapSuite.Mvc.Map
Inheritance Hierarchy
Members Summary
Public Constructors
Map()
Parameters
Map(String)
Parameters
name
Type:String
Description:N/A
Map(String,Unit,Unit)
Parameters
name
Type:String
Description:N/A
width
Type:Unit
Description:N/A
height
Type:Unit
Description:N/A
Protected Constructors
Public Methods
ToScreenCoordinate(Double,Double)
Return Value
Parameters
ToScreenCoordinate(PointShape)
Return Value
Parameters
ToWorldCoordinate(Single,Single)
Return Value
Parameters
ToWorldCoordinate(ScreenPointF)
Return Value
Parameters
CenterAt(PointShape)
Return Value
Type:Void
Description:N/A
Parameters
CenterAt(Double,Double)
Return Value
Type:Void
Description:N/A
Parameters
ZoomTo(PointShape,Double)
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
ZoomIn()
Return Value
Type:Void
Description:N/A
Parameters
ZoomOut()
Return Value
Type:Void
Description:N/A
Parameters
ZoomToMarkers(IEnumerable<Marker>)
Return Value
Type:Void
Description:N/A
Parameters
ZoomToScale(Double)
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
GetBitmap()
Return Value
Type:Bitmap
Description:a bitmap
Parameters
GetBitmap(Int32,Int32)
Return Value
Parameters
FromJson(String)
Return Value
Type:Void
Description:N/A
Parameters
GetScreenDistanceBetweenTwoWorldPoints(PointShape,PointShape)
Return Value
Parameters
GetWorldDistanceBetweenTwoScreenPoints(ScreenPointF,ScreenPointF,DistanceUnit)
Return Value
Parameters
Pan(PanDirection,Int32)
Return Value
Type:Void
Description:N/A
Parameters
panDirection
-
Description:Up, Down, Left, Right, UpperRight, LowerRight, UpperLeft, LowerLeft.
Pan(Single,Int32)
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
Fill(String)
Return Value
Type:Void
Description:N/A
Parameters
entityString
Type:String
Description:N/A
Fill(String,String)
Return Value
Type:Void
Description:N/A
Parameters
modelName
Type:String
Description:N/A
entityString
Type:String
Description:N/A
ToString(String)
Return Value
Type:String
Description:N/A
Parameters
modelName
Type:String
Description:N/A
ToString()
Return Value
Type:String
Description:N/A
Parameters
Equals(Object)
Return Value
Type:Boolean
Description:N/A
Parameters
obj
Type:Object
Description:N/A
GetHashCode()
Return Value
Type:Int32
Description:N/A
Parameters
GetType()
Return Value
Type:Type
Description:N/A
Parameters
Protected Methods
LoadState()
Return Value
Type:Void
Description:N/A
Parameters
PreRender()
Return Value
Type:Void
Description:N/A
Parameters
Render(HtmlTextWriter)
Return Value
Type:Void
Description:N/A
Parameters
SaveState()
Return Value
Type:Void
Description:N/A
Parameters
Finalize()
Return Value
Type:Void
Description:N/A
Parameters
MemberwiseClone()
Return Value
Type:Object
Description:N/A
Parameters
Public Properties
GeoCanvas
Return Value
ZoomLevelSet
Return Value
MapBackground
Return Value
ContextMenu
Return Value
CurrentExtent
Return Value
Cursor
Return Value
WebConfigRegisterMode
Return Value
ResourceDeploymentMode
Return Value
MapUnit
Return Value
ActiveBaseOverlay
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
IsDefaultJavascriptLibraryDisabled
Return Value
BackgroundOverlay
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
Return Value
DynamicOverlay
Return Value
MarkerOverlay
Return Value
CustomOverlays
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
EditOverlay
Return Value
HighlightOverlay
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
Return Value
MapTools
Return Value
WidthInPixels
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
HeightInPixels
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
OnClientDrawEnd
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
OnClientEditEnd
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
OnClientClick
Return Value
OnClientDoubleClick
Return Value
OnClientExtentChanged
Return Value
OnClientBaseOverlayChanged
Return Value
OnClientTrackShapeFinished
Return Value
OnClientPopupsRequesting
Return Value
OnClientPopupsRequested
Return Value
Popups
Return Value
RestrictedExtent
Return Value
CurrentScale
Return Value
CustomCursorUri
Return Value
Id
Return Value
Name
Return Value
Width
Return Value
Height
Return Value
Visible
Return Value
HtmlAttributes
Return Value
ClientScriptFileNames
Return Value
ClientScriptBlocks
Return Value
StyleSheetFileNames
Return Value
ViewContext
Return Value
Protected Properties
ClientResolutions
Return Value
MaxExtent
Return Value
PageRootPath
Return Value
PopupsDataBinding
Return Value
UniqueControlName
Return Value
CenterX
Return Value
CenterY
Return Value
Zoom
Return Value
ClientScriptManager
Return Value
ClientStyleSheetManager
Return Value
Public Events