ThinkGeo Cloud
ThinkGeo UI Controls
ThinkGeo Open Source
Help and Support
External Resources
ThinkGeo Cloud
ThinkGeo UI Controls
ThinkGeo Open Source
Help and Support
External Resources
This is an old revision of the document!
Defines the fluent interface for configuring the Map control.
N/A
Initializes a new instance of the MapBuilder.
N/A
N/A
MapBackground(BackgroundLayer)
Sets the BackgroundLayer object that paints the map background.
N/A
ContextMenu(Action<ContextMenuSetting>)
Sets the ContextMenu of the map.
N/A
CurrentExtent(Double,Double,Double,Double)
Sets the current extent of the map.
N/A
Sets the cursor that appears when the mouse pointer is over the map control.
N/A
WebConfigRegisterMode(WebConfigRegistrationMode)
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.
N/A
ResourceDeploymentMode(ResourceDeploymentMode)
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.
N/A
IsDefaultJavascriptLibraryDisabled(Boolean)
Gets or sets whether the default javascript library is disabled or not.
N/A
N/A
Sets the active base Overlay.
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 OverSwitcher, the currently selected overlay will be synchronized to this property after postback.
Sets an Overlay object that displays as the background map by default.
N/A
StaticOverlay(Action<LayerOverlaySetting>)
Configures a LayerOverlay object that displays as a background map.
N/A
DynamicOverlay(Action<LayerOverlaySetting>)
Configures a LayerOverlay object that can overlap other overlays.
N/A
MarkerOverlay(Action<InMemoryMarkerOverlaySetting>)
Configures an InMemoryMarkerOverlay object that renders markers by the specified features.
N/A
EditOverlay(Action<EditFeatureOverlaySetting>)
Configures an EditOverlay object, with which you can draw and edit shapes on client side.
N/A
HighlightOverlay(Action<HighlightFeatureOverlaySetting>)
Configures a HighlightFeatureOverlay object, which draws its features on client side and can attach the specified click event and context menu to them.
N/A
AdornmentOverlay(Action<AdornmentOverlaySetting>)
Configures a AdormentOverlay object in the map control.
N/A
MapTools(Action<MapToolsSettingCollection>)
Configures the MapTools in the map control.
N/A
Sets the current scale of the map.
N/A
CustomOverlays(Action<OverlayCollection>)
Configures the Overlays added to the map.
N/A
Popups(Action<PopupCollection>)
Sets the popups of the map.
N/A
RestrictedExtent(RectangleShape)
Sets an extent that limits the area to which the map can be navigated within.
N/A
Sets the ClientDrawEnd event of the map.
N/A
Sets the ClientEditEnd event of the map.
N/A
Sets the client click event of the map.
N/A
Sets the ClientExtentChanged event of the map.
N/A
OnClientBaseOverlayChanged(String)
Sets the ClientBaseOverlayChanged event of the map.
N/A
Sets the ClientDoubleClick event of the map.
N/A
OnClientTrackShapeFinished(String)
Sets the OnClientTrackShapeFinished event of the map.
N/A
OnClientPopupsRequesting(String)
N/A
N/A
N/A
Sends the map control content to a provided HtmlTextWriter object, which wirtes the content to be rendered on the client.
N/A
N/A
N/A
N/A
ScriptFileNames(Dictionary<String,String>)
N/A
N/A
ScriptBlocks(Dictionary<String,String>)
N/A
N/A
StyleSheetFileNames(IEnumerable<String>)
N/A
N/A
N/A
N/A
N/A
N/A
N/A
N/A