Products
Professional Services
Demos and Downloads
Help and Support
Products
Professional Services
Demos and Downloads
Help and Support
This is an old revision of the document!
Represents an object that encapsulates a Web Map Service (WMS) source.
This is the constructor for the class. If you use this constructor, then you need to set the required properties manually.
None
This constructor initializes a new WmsRasterSource and downloads and parses the service description. In an ASP.NET application, the service description is automatically cached for 24 hours when it is not specified.
This is the constructor the for the class.
This constructor initializes a new WmsRasterSource and downloads and parses the service description In an ASP.NET application, the service description is automatically cached for 24 hours when it is not specified.
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
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 returns the width of the image in screen coordinates.
This virtual method is called from the concrete method GetImageWidth. It returns the width of the image in screen coordinates.
This virtual method is called from the concrete method GetImageHeight. It returns the height of the image in screen coordinates.
This protected virtual method is called from the concrete public method Open. The Open method plays an important role, as it is responsible for initializing the RasterSource. Most methods on the RasterSource will throw an exception if the state of the RasterSource is not opened. When the map draws each layer, it will open the RasterSource 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 RasterSource. When implementing this abstract method, consider opening files for file-based sources, connecting to databases in the database-based sources and so on. You will get a chance to close these in the Close method of the RasterSource.
N/A
This method returns the bounding box of the RasterSource.
GetImageCore(RectangleShape,Int32,Int32)
This method returns an image based on the worldExtent and image width and height.
This method is responsible for returning the image based on the parameters passed in. As the core version of this method is abstract, you will need to override it when creating our own RasterSource.
BuildWmsGetFeatureInfoUri(ScreenPointF,String,Int32)
N/A
N/A
GetFeatureInfoCore(ScreenPointF,String,Int32)
N/A
N/A
N/A
N/A
N/A
N/A
N/A
OnOpeningRasterSource(OpeningRasterSourceEventArgs)
N/A
N/A
N/A
N/A
N/A
N/A
N/A
N/A
N/A
This property allows the active layers requested from the client to be shown on the map.
When requesting a map, a client may specify the layers to be shown on the map.
This property allows the active styles requested from the client to be shown on the map.
When requesting a map, a client may specify the styles to be shown on the map.
N/A
This property gets or sets whether the response map image's background color is transparent or not.
N/A
This property gets or sets the desired output format for the map being requested from the WMS.
When requesting a map, a client may specify the output format in which to show the map. Formats are specified as MIME types such as “image/gif” or “image/png”.
N/A
This property specifies the timeout of the web request in seconds. The default timeout value is 20 seconds.
N/A
This property gets or sets the projected or geographic coordinate reference system to be used.
N/A
This property gets or sets the base authentication interface for retrieving credentials for Web Client authentication.
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
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 event is called before sending the reqeust for raster image. It is typical that user want to get the url of reqeust and modify it according to their requirements. For example, user could create a signiture for it, and verify it on the server side.
Event Arguments:SendingWebRequestEventArgs
SentWebRequest
This event is called after sent the request for raster image and the HttpWebResponse has come back.
N/A
Event Arguments:ClosedRasterSourceEventArgs
8501 Wade Blvd Ste 550
Frisco, TX 75034
United States
sales@thinkgeo.com
1-785-727-4133
Online Store
- Desktop
WPF
WinForms
- Web
WebAPI HTML5/JavaScript
ASP.NET MVC
WebForms with AJAX
- Mobile
iOS
Android™
World Street
World Imagery
Routing
Geocoding
Reverse Geocoding
Elevation
Quick Start Guides
Documentation
Blogs
Discussion Forums
Customer Portal
About Us
News & Announcemets
Privacy Policy
Copyright 2003-2017 ThinkGeo LLC.
All rights reserved.