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
TiledWmsLayer(IEnumerable<Uri>,String,String)
N/A
N/A
TiledWmsLayer(IEnumerable<Uri>,WebProxy,String,String)
N/A
N/A
N/A
None.
None.
None.
This method returns the projected or geographic coordinate reference systems to be used.
N/A
None.
N/A
N/A
N/A
N/A
N/A
N/A
N/A
GetFeatureInfo(ScreenPointF,Int32)
N/A
N/A
GetFeatureInfo(ScreenPointF,String,Int32)
N/A
N/A
N/A
N/A
N/A
N/A
N/A
N/A
RequestDrawing(RectangleShape,TimeSpan)
N/A
N/A
RequestDrawing(RectangleShape,TimeSpan,RequestDrawingBufferTimeType)
N/A
N/A
RequestDrawing(IEnumerable<RectangleShape>,TimeSpan)
N/A
N/A
RequestDrawing(IEnumerable<RectangleShape>,TimeSpan,RequestDrawingBufferTimeType)
N/A
N/A
N/A
N/A
N/A
N/A
N/A
N/A
N/A
N/A
N/A
N/A
N/A
N/A
N/A
N/A
N/A
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.
GetRequestUrisCore(RectangleShape,Int32,Int32)
Get the request URLs from the client to the WMS servers.
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.
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.
DrawExceptionCore(GeoCanvas,Exception)
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
GetFeatureInfoCore(ScreenPointF,String,Int32)
N/A
N/A
OnRequestedDrawing(RequestedDrawingLayerEventArgs)
N/A
N/A
N/A
N/A
N/A
N/A
OnDrawingException(DrawingExceptionLayerEventArgs)
N/A
N/A
N/A
N/A
OnDrawingAttribution(DrawingAttributionLayerEventArgs)
N/A
N/A
N/A
N/A
N/A
N/A
N/A
VSw=(RectangleShape,RectangleShape)
N/A
N/A
This property gets or sets the base authentication interface for retrieving credentials for Web Client authentication.
N/A
N/A
Gets or sets a value that is unique to your client ID, please keep your key secure.
N/A
N/A
N/A
N/A
N/A
N/A
This property gets or sets the proxy used for requesting a Web Response.
N/A
N/A
N/A
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”.
This property gets or sets the projected or geographic coordinate reference system to be used.
N/A
N/A
N/A
Is the current scale is beyond this value, the map will not render.
Is the current scale is less than this value, the map will not render.
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.
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.
This property specifies the timeout of the web request in seconds. The default timeout value is 20 seconds.
N/A
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.
This property specifies a dictionary used to update the request sent from the client to the WMS server.
N/A
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.
N/A
N/A
N/A
N/A
N/A
N/A
N/A
N/A
N/A
N/A
N/A
N/A
N/A
N/A
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.
N/A
Event Arguments:DrawnAttributionLayerEventArgs