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 tiled WMS Server, and you also can get map from ThinkGeo world map kit server.
This is the constructor the for the class. If you use this constructor, then you need to set the required properties manually.
None
N/A
N/A
serverUris
webProxy
clientId
N/A
N/A
serverUris
clientId
This method clears the tile cache of client.
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
screenPointF
infoFormat
maxFeatures
N/A
N/A
N/A
N/A
N/A
Return Value
Get the request URLs from the client to the WMS servers.
N/A
Return Value
requestExtent
canvasWidth
canvasHeight
This API gets the GetCapabilites document of the service.
N/A
Return Value
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 API gets the WMS server FeatureInfo formats of the service.
N/A
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
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
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
N/A
N/A
Return Value
N/A
N/A
screenPointF
infoFormat
maxFeatures
Get the request URLs from the client to the WMS servers.
N/A
Return Value
requestExtent
canvasWidth
canvasHeight
N/A
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
This property represents the available layers that can be requested from the client and shown on the map.
When requesting a map, a client may specify the layers to be shown on the map.
Return Type:Collection<String>
This property represents the available styles that can be requested from the client and shown on the map.
When requesting a map, a client may specify the styles to be shown on the map.
Return Type:Collection<String>
N/A
N/A
Return Type:String
N/A
N/A
Return Type:WmsAxisOrder
N/A
N/A
Return Type:Single
N/A
N/A
Return Type:TimeSpan
Gets or sets a value that is your Client Id.
N/A
Return Type:String
This property gets or sets the base authentication interface for retrieving credentials for Web Client authentication.
N/A
Return Type:ICredentials
This property gets or sets the projected or geographic coordinate reference system to be used.
N/A
Return Type:String
N/A
N/A
Return Type:DrawingExceptionMode
N/A
N/A
Return Type:TimeSpan
This property indicates the format in which the client wishes to be notified of service exceptions.
Upon receiving a request that is invalid according to the OGC standard, the server shall issue a service exception report. The service report is meant to describe to the client application or its human user the reason(s) that the request is invalid.
Return Type:String
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 TileWmsLayer is false.
Return Type:Boolean
N/A
N/A
Return Type:TiledWmsRasterSource
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
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:String
This property gets or sets the desired output format for the map requested from the WMS.
When requesting a map, a client may specify the output format in which to show the map. Format are specified as MIME types such as “image/gif” or “image/png”.
Return Type:String
This property specifies a dictionary used to update the request sent from the client to the WMS server.
N/A
Return Type:Dictionary<String,String>
Gets or sets a value that is unique to your client ID, please keep your key secure.
N/A
Return Type:String
N/A
N/A
Return Type:Single
N/A
N/A
Return Type:TimeSpan
Gets or sets a server uri of Tiled WMS Server.
N/A
Return Type:Uri
N/A
N/A
Return Type:Collection<Uri>
Gets or sets a BitmapTileCache represents which tile cache will be used.
N/A
Return Type:BitmapTileCache
Gets or sets the height of the tile requested
N/A
Return Type:Int32
Gets or sets the width of the tile requested
N/A
Return Type:Int32
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
This property gets or sets the proxy used for requesting a Web Response.
N/A
Return Type:WebProxy
N/A
N/A
Return Type:ZoomLevelSet
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
N/A
N/A
N/A
N/A
N/A
N/A
N/A