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!
This class is use for world map kit, and you also can get map from ThinkGeo world map kit server.
The default constructor
The constructor initilizes the properties. UpperThreshold is set to double.MaxValue, LowerThreshold is set to double.MinValue.
N/A
N/A
layerType
privateKey
clientId
This is the constructor the for the class.
N/A
layerType
clientId
This method clears the tile cache.
N/A
Return Value
N/A
N/A
N/A
Return Value
N/A
N/A
Return Value
canvas
labelsInAllLayers
N/A
N/A
Return Value
N/A
N/A
N/A
Return Value
Get the request URLs from the client to the WMS servers.
N/A
Return Value
worldExtent
canvasWidth
canvasHeight
This method returns the projected or geographic coordinate reference systems to be used.
N/A
Return Value
This method returns the exception format at the server side.
None.
Return Value
This method returns the names of all layers at the server side.
None.
Return Value
This method returns the output format at the server side.
None.
Return Value
This method returns the names of all styles at the server side.
None.
Return Value
This API gets the WMS server version of the service.
N/A
Return Value
N/A
N/A
N/A
Return Value
N/A
N/A
Return Value
N/A
N/A
Return Value
extentsToRefresh
bufferTime
bufferTimeType
N/A
N/A
Return Value
extentToRefresh
bufferTime
bufferTimeType
N/A
N/A
Return Value
bufferTime
bufferTimeType
N/A
N/A
Return Value
N/A
N/A
Return Value
N/A
N/A
Return Value
N/A
N/A
Return Value
N/A
N/A
Return Value
extentsToRefresh
bufferTime
N/A
N/A
Return Value
N/A
N/A
Return Value
N/A
This method closes the Layer and releases any resources it was using.
This abstract method is called from the concrete public method Close. The close method plays an important role in the life cycle of the Layer. It may be called after drawing to release any memory and other resources that were allocated since the Open method was called. If you override this method, it is recommended that you take the following things into account: This method may be called multiple times, so we suggest you write the method so that that a call to a closed Layer is ignored and does not generate an error. We also suggest that in the Close you free all resources that have been opened. Remember that the object will not be destroyed, but will be re-opened possibly in the near future.
Return Value
N/A
N/A
Return Value
This method draws the Layer.
This method is the concrete wrapper for the abstract method DrawCore. This method draws the representation of the layer based on the extent you provided. When implementing this abstract method, consider each feature and its column data values. You can use the full power of the GeoCanvas to do the drawing. If you need column data for a feature, be sure to override the GetRequiredColumnNamesCore and add the columns you need to the collection. In many of the styles, we add properties that allow the user to specify which field they need; then, in the GetRequiredColumnNamesCore, we read that property and add it to the collection.
Return Value
canvas
labelsInAllLayers
N/A
N/A
Return Value
This method will draw on the canvas when the layer.Draw throw exception and the DrawExceptionMode is set to DrawException instead of ThrowException.
N/A
Return Value
canvas
e
This method draws image on the canvas with specified labelsInAllLayers
N/A
Return Value
canvas
labelsInAllLayers
N/A
N/A
Return Value
N/A
N/A
This method retures a value represents whether the currentExtent is within the passing in thresholds.
N/A
Return Value
currentExtent
upperThreshold
lowerThreshold
canvasWidth
mapUnit
This method retures a value represents whether the currentExtent is within the passing in thresholds.
N/A
Return Value
currentExtent
upperThreshold
lowerThreshold
canvasWidth
mapUnit
dpi
N/A
N/A
Return Value
N/A
N/A
Return Value
N/A
N/A
Return Value
N/A
N/A
Return Value
N/A
N/A
Return Value
N/A
N/A
Return Value
N/A
N/A
Return Value
N/A
N/A
Return Value
N/A
N/A
Return Value
N/A
N/A
Return Value
This method opens the Layer so that it is initialized and ready to use.
This abstract method is called from the concrete public method Open. The open method plays an important role, as it is responsible for initializing the Layer. Most methods on the Layer will throw an exception if the state of the Layer is not opened. When the map draws each layer, the layer will be opened as one of its first steps; then, after it is finished drawing with that layer, it will close it. In this way, we are sure to release all resources used by the Layer. When implementing the abstract method, consider opening the FeatureSource or RasterSource. You will get a chance to close these in the Close method of the Layer.
Return Value
N/A
N/A
Return Value
N/A
N/A
Return Value
N/A
N/A
Return Type:String
N/A
N/A
Return Type:Single
Gets or sets a value that is your Client Id.
N/A
Return Type:String
N/A
N/A
Return Type:DrawingExceptionMode
N/A
N/A
Return Type:TimeSpan
N/A
N/A
Return Type:Single
This property indicates whether a Layer has a BoundingBox or not. If it has no BoundingBox, it will throw an exception when you call the GetBoundingBox() and GetFullExtent() APIs.
The value of WorldMapKitLayer is false.
Return Type:Boolean
N/A
N/A
Return Type:Boolean
N/A
N/A
Return Type:Boolean
N/A
N/A
Return Type:Boolean
N/A
N/A
Return Type:Boolean
N/A
N/A
N/A
N/A
Return Type:WorldMapKitLayerType
Gets or sets a value represents lower threshold for scale.
Is the current scale is less than this value, the map will not render.
Return Type:Double
N/A
N/A
Return Type:WorldMapKitMapType
N/A
N/A
Return Type:String
Gets or sets a value that is unique to your client ID, please keep your key secure.
N/A
Return Type:String
Gets or sets a WorldMapKitProjection represents which projection will be use.
N/A
Return Type:WorldMapKitProjection
This property gets or sets the proxy used for requesting a Web Response.
N/A
Return Type:WebProxy
N/A
N/A
Return Type:Single
N/A
N/A
Return Type:TimeSpan
Gets or sets a BitmapTileCache represents which tile cache will be use.
N/A
Return Type:BitmapTileCache
N/A
N/A
Return Type:WorldMapKitTileMode
This property specifies the timeout of the web request in seconds. The default timeout value is 20 seconds.
N/A
Return Type:Int32
N/A
N/A
Return Type:Single
Gets or sets a value represents upper threshold for scale.
Is the current scale is beyond this value, the map will not render.
Return Type:Double
N/A
N/A
Return Type:WebProxy
This property returns true if the Layer is open and false if it is not.
Various methods on the Layer require that it be in an open state. If one of those methods is called when the state is not open, then the method will throw an exception. To enter the open state, you must call the Layer Open method. The method will raise an exception if the current Layer is already open.
Return Type:Boolean
N/A
N/A
Return Type:WorldMapKitWmsRasterSource
N/A
N/A
Return Type:Collection<String>
N/A
N/A
Return Type:Collection<String>
N/A
N/A
Return Type:Dictionary<String,String>
N/A
N/A
N/A
N/A
N/A
N/A
N/A
N/A
N/A