This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
thinkgeo.mapsuite.core.wmsrastersource [2015/08/20 03:08] 127.0.0.1 external edit |
— (current) | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== ThinkGeo.MapSuite.Core.WmsRasterSource ====== | ||
- | |||
- | |||
- | |||
- | <!-- Class --> | ||
- | Represents an object that encapsulates a Web Map Service (WMS) source. | ||
- | === Remarks === | ||
- | A Web Map Service (WMS) produces maps of spatially referenced data dynamically from geographic information. This international standand defines a "map" as a portrayal of geographic information as a digital image file suitable for display on a computer screen. | ||
- | |||
- | A map is not the the data itself. WMS-produced maps are generally rendered in a pictorial format such as PNG or JPEG, or occasionally as vector-based graphical elements in Scalable Vector Graphics (SVG) or Web Computer Graphics Metafile (WebCGM) formats. | ||
- | ===== Inheritance Hierarchy ===== | ||
- | *System.Object | ||
- | **[[ThinkGeo.MapSuite.Core.RasterSource]] | ||
- | ***[[ThinkGeo.MapSuite.Core.WmsRasterSource]] | ||
- | ===== Members Summary ===== | ||
- | ==== Public Constructors ==== | ||
- | ^ Name ^ Parameters ^ DeclaringType ^ Summary ^ | ||
- | | {{wiki:PublicMethod.gif|Public Method}}[[#WmsRasterSource()|WmsRasterSource]] | | | This is the constructor for the class. If you use this constructor, then you need to set the required properties manually. | | ||
- | | {{wiki:PublicMethod.gif|Public Method}}[[#WmsRasterSource(Uri)|WmsRasterSource]] | Uri | | This is the constructor the for the class. | | ||
- | | {{wiki:PublicMethod.gif|Public Method}}[[#WmsRasterSource(Uri, WebProxy)|WmsRasterSource]] | Uri, WebProxy | | This is the constructor the for the class. | | ||
- | |||
- | ==== Protected Constructors ==== | ||
- | ^ Name ^ Parameters ^ DeclaringType ^ Summary ^ | ||
- | |||
- | ==== Public Methods ==== | ||
- | ^ Name ^ Parameters ^ DeclaringType ^ Summary ^ | ||
- | | {{wiki:PublicMethod.gif|Public Method}}[[#CloneDeep()|CloneDeep]] | | [[ThinkGeo.MapSuite.Core.RasterSource|RasterSource]] | Create a copy of RasterSource using the deep clone process. | | ||
- | | {{wiki:PublicMethod.gif|Public Method}}[[#Close()|Close]] | | [[ThinkGeo.MapSuite.Core.RasterSource|RasterSource]] | This method closes the RasterSource and releases any resources it was using. | | ||
- | | {{wiki:PublicMethod.gif|Public Method}}[[#Equals(Object)|Equals]] | Object | Object | | | ||
- | | {{wiki:PublicMethod.gif|Public Method}}{{wiki:Static.gif|Static Member}}[[#GenerateWorldFileText(RectangleShape, Int32, Int32)|GenerateWorldFileText]] | [[ThinkGeo.MapSuite.Core.RectangleShape|RectangleShape]], Int32, Int32 | [[ThinkGeo.MapSuite.Core.RasterSource|RasterSource]] | This method returns a string that represents the image's world file based on the parameters passed in. | | ||
- | | {{wiki:PublicMethod.gif|Public Method}}[[#GetBoundingBox()|GetBoundingBox]] | | [[ThinkGeo.MapSuite.Core.RasterSource|RasterSource]] | This method returns the bounding box of the RasterSource. | | ||
- | | {{wiki:PublicMethod.gif|Public Method}}[[#GetFeatureInfo(ScreenPointF, Int32)|GetFeatureInfo]] | [[ThinkGeo.MapSuite.Core.ScreenPointF|ScreenPointF]], Int32 | | | | ||
- | | {{wiki:PublicMethod.gif|Public Method}}[[#GetFeatureInfo(ScreenPointF, String)|GetFeatureInfo]] | [[ThinkGeo.MapSuite.Core.ScreenPointF|ScreenPointF]], String | | | | ||
- | | {{wiki:PublicMethod.gif|Public Method}}[[#GetFeatureInfo(ScreenPointF)|GetFeatureInfo]] | [[ThinkGeo.MapSuite.Core.ScreenPointF|ScreenPointF]] | | | | ||
- | | {{wiki:PublicMethod.gif|Public Method}}[[#GetFeatureInfo(ScreenPointF, String, Int32)|GetFeatureInfo]] | [[ThinkGeo.MapSuite.Core.ScreenPointF|ScreenPointF]], String, Int32 | | | | ||
- | | {{wiki:PublicMethod.gif|Public Method}}[[#GetHashCode()|GetHashCode]] | | Object | | | ||
- | | {{wiki:PublicMethod.gif|Public Method}}[[#GetHorizontalResolution()|GetHorizontalResolution]] | | [[ThinkGeo.MapSuite.Core.RasterSource|RasterSource]] | This method returns the horizontal resolution of the image. | | ||
- | | {{wiki:PublicMethod.gif|Public Method}}[[#GetImage(RectangleShape, Int32, Int32)|GetImage]] | [[ThinkGeo.MapSuite.Core.RectangleShape|RectangleShape]], Int32, Int32 | [[ThinkGeo.MapSuite.Core.RasterSource|RasterSource]] | This method returns an image based on the worldExtent and image width and height. | | ||
- | | {{wiki:PublicMethod.gif|Public Method}}[[#GetImageHeight()|GetImageHeight]] | | [[ThinkGeo.MapSuite.Core.RasterSource|RasterSource]] | This method returns the height of the image in screen coordinates. | | ||
- | | {{wiki:PublicMethod.gif|Public Method}}[[#GetImageWidth()|GetImageWidth]] | | [[ThinkGeo.MapSuite.Core.RasterSource|RasterSource]] | This method returns the width of the image in screen coordinates. | | ||
- | | {{wiki:PublicMethod.gif|Public Method}}[[#GetProjectionText()|GetProjectionText]] | | [[ThinkGeo.MapSuite.Core.RasterSource|RasterSource]] | This method returns the projection text in proj4 format. | | ||
- | | {{wiki:PublicMethod.gif|Public Method}}[[#GetRequestUrl(RectangleShape, Int32, Int32)|GetRequestUrl]] | [[ThinkGeo.MapSuite.Core.RectangleShape|RectangleShape]], Int32, Int32 | | Get the request URL from the client to the WMS. | | ||
- | | {{wiki:PublicMethod.gif|Public Method}}[[#GetServerCapabilitiesXml()|GetServerCapabilitiesXml]] | | | This API gets the GetCapabilites document of the service. | | ||
- | | {{wiki:PublicMethod.gif|Public Method}}[[#GetServerCrss()|GetServerCrss]] | | | This method returns the projected or geographic coordinate reference systems to be used. | | ||
- | | {{wiki:PublicMethod.gif|Public Method}}[[#GetServerExceptionFormats()|GetServerExceptionFormats]] | | | This method returns the exception format at the server side. | | ||
- | | {{wiki:PublicMethod.gif|Public Method}}[[#GetServerFeatureInfoFormats()|GetServerFeatureInfoFormats]] | | | This API gets the WMS server FeatureInfo formats of the service. | | ||
- | | {{wiki:PublicMethod.gif|Public Method}}[[#GetServerLayerNames()|GetServerLayerNames]] | | | This method returns the names of all layers at the server side. | | ||
- | | {{wiki:PublicMethod.gif|Public Method}}[[#GetServerOutputFormats()|GetServerOutputFormats]] | | | This method returns the output format at the server side. | | ||
- | | {{wiki:PublicMethod.gif|Public Method}}[[#GetServerStyleNames()|GetServerStyleNames]] | | | This method returns the names of all styles at the server side. | | ||
- | | {{wiki:PublicMethod.gif|Public Method}}[[#GetServiceVersion()|GetServiceVersion]] | | | This API gets the WMS server version of the service. | | ||
- | | {{wiki:PublicMethod.gif|Public Method}}[[#GetType()|GetType]] | | Object | | | ||
- | | {{wiki:PublicMethod.gif|Public Method}}[[#GetVerticalResolution()|GetVerticalResolution]] | | [[ThinkGeo.MapSuite.Core.RasterSource|RasterSource]] | This method returns the vertical resolution of the image. | | ||
- | | {{wiki:PublicMethod.gif|Public Method}}[[#GetWorldFileText()|GetWorldFileText]] | | [[ThinkGeo.MapSuite.Core.RasterSource|RasterSource]] | This method returns a string that represents the image's world file. | | ||
- | | {{wiki:PublicMethod.gif|Public Method}}[[#Open()|Open]] | | [[ThinkGeo.MapSuite.Core.RasterSource|RasterSource]] | This method opens the RasterSource so that it is initialized and ready to use. | | ||
- | | {{wiki:PublicMethod.gif|Public Method}}[[#ToString()|ToString]] | | Object | | | ||
- | |||
- | ==== Protected Methods ==== | ||
- | ^ Name ^ Parameters ^ DeclaringType ^ Summary ^ | ||
- | | {{wiki:ProtectedMethod.gif|Protected Method}}[[#BuildWmsGetFeatureInfoUri(ScreenPointF, String, Int32)|BuildWmsGetFeatureInfoUri]] | [[ThinkGeo.MapSuite.Core.ScreenPointF|ScreenPointF]], String, Int32 | | | | ||
- | | {{wiki:ProtectedMethod.gif|Protected Method}}[[#CloneDeepCore()|CloneDeepCore]] | | [[ThinkGeo.MapSuite.Core.RasterSource|RasterSource]] | Create a copy of RasterSource using the deep clone process. The default implementation uses serialization. | | ||
- | | {{wiki:ProtectedMethod.gif|Protected Method}}[[#CloseCore()|CloseCore]] | | [[ThinkGeo.MapSuite.Core.RasterSource|RasterSource]](overriden) | | | ||
- | | {{wiki:ProtectedMethod.gif|Protected Method}}[[#Finalize()|Finalize]] | | Object | | | ||
- | | {{wiki:ProtectedMethod.gif|Protected Method}}[[#GetBoundingBoxCore()|GetBoundingBoxCore]] | | [[ThinkGeo.MapSuite.Core.RasterSource|RasterSource]](overriden) | This method returns the bounding box of the RasterSource. | | ||
- | | {{wiki:ProtectedMethod.gif|Protected Method}}[[#GetFeatureInfoCore(ScreenPointF, String, Int32)|GetFeatureInfoCore]] | [[ThinkGeo.MapSuite.Core.ScreenPointF|ScreenPointF]], String, Int32 | | | | ||
- | | {{wiki:ProtectedMethod.gif|Protected Method}}[[#GetImageCore(RectangleShape, Int32, Int32)|GetImageCore]] | [[ThinkGeo.MapSuite.Core.RectangleShape|RectangleShape]], Int32, Int32 | [[ThinkGeo.MapSuite.Core.RasterSource|RasterSource]](overriden) | This method returns an image based on the worldExtent and image width and height. | | ||
- | | {{wiki:ProtectedMethod.gif|Protected Method}}[[#GetImageHeightCore()|GetImageHeightCore]] | | [[ThinkGeo.MapSuite.Core.RasterSource|RasterSource]](overriden) | This method returns the height of the image in screen coordinates. | | ||
- | | {{wiki:ProtectedMethod.gif|Protected Method}}[[#GetImageWidthCore()|GetImageWidthCore]] | | [[ThinkGeo.MapSuite.Core.RasterSource|RasterSource]](overriden) | This method returns the width of the image in screen coordinates. | | ||
- | | {{wiki:ProtectedMethod.gif|Protected Method}}[[#GetProjectionTextCore()|GetProjectionTextCore]] | | [[ThinkGeo.MapSuite.Core.RasterSource|RasterSource]] | This method returns the projection text in proj4 format. | | ||
- | | {{wiki:ProtectedMethod.gif|Protected Method}}[[#GetRequestUrlCore(RectangleShape, Int32, Int32)|GetRequestUrlCore]] | [[ThinkGeo.MapSuite.Core.RectangleShape|RectangleShape]], Int32, Int32 | | | | ||
- | | {{wiki:ProtectedMethod.gif|Protected Method}}[[#MemberwiseClone()|MemberwiseClone]] | | Object | | | ||
- | | {{wiki:ProtectedMethod.gif|Protected Method}}[[#OnClosedRasterSource(ClosedRasterSourceEventArgs)|OnClosedRasterSource]] | [[ThinkGeo.MapSuite.Core.ClosedRasterSourceEventArgs|ClosedRasterSourceEventArgs]] | [[ThinkGeo.MapSuite.Core.RasterSource|RasterSource]] | This method allows you to raise the ClosedRasterSource event from a derived class. | | ||
- | | {{wiki:ProtectedMethod.gif|Protected Method}}[[#OnClosingRasterSource(ClosingRasterSourceEventArgs)|OnClosingRasterSource]] | [[ThinkGeo.MapSuite.Core.ClosingRasterSourceEventArgs|ClosingRasterSourceEventArgs]] | [[ThinkGeo.MapSuite.Core.RasterSource|RasterSource]] | This method allows you to raise the ClosingRasterSource event from a derived class. | | ||
- | | {{wiki:ProtectedMethod.gif|Protected Method}}[[#OnOpenedRasterSource(OpenedRasterSourceEventArgs)|OnOpenedRasterSource]] | [[ThinkGeo.MapSuite.Core.OpenedRasterSourceEventArgs|OpenedRasterSourceEventArgs]] | [[ThinkGeo.MapSuite.Core.RasterSource|RasterSource]] | This method allows you to raise the OpenedRasterSource event from a derived class. | | ||
- | | {{wiki:ProtectedMethod.gif|Protected Method}}[[#OnOpeningRasterSource(OpeningRasterSourceEventArgs)|OnOpeningRasterSource]] | [[ThinkGeo.MapSuite.Core.OpeningRasterSourceEventArgs|OpeningRasterSourceEventArgs]] | [[ThinkGeo.MapSuite.Core.RasterSource|RasterSource]] | This method allows you to raise the OpeningRasterSource event from a derived class. | | ||
- | | {{wiki:ProtectedMethod.gif|Protected Method}}[[#OnSendingWebRequest(SendingWebRequestEventArgs)|OnSendingWebRequest]] | [[ThinkGeo.MapSuite.Core.SendingWebRequestEventArgs|SendingWebRequestEventArgs]] | | | | ||
- | | {{wiki:ProtectedMethod.gif|Protected Method}}[[#OnSentWebRequest(SentWebRequestEventArgs)|OnSentWebRequest]] | [[ThinkGeo.MapSuite.Core.SentWebRequestEventArgs|SentWebRequestEventArgs]] | | | | ||
- | | {{wiki:ProtectedMethod.gif|Protected Method}}[[#OpenCore()|OpenCore]] | | [[ThinkGeo.MapSuite.Core.RasterSource|RasterSource]](overriden) | This method opens the RasterSource so that it is initialized and ready to use. | | ||
- | | {{wiki:ProtectedMethod.gif|Protected Method}}[[#SendWebRequest(WebRequest)|SendWebRequest]] | WebRequest | | | | ||
- | | {{wiki:ProtectedMethod.gif|Protected Method}}[[#SendWebRequestCore(WebRequest)|SendWebRequestCore]] | WebRequest | | | | ||
- | |||
- | ==== Public Properties ==== | ||
- | ^ Name ^ Return ^ DeclaringType ^ Summary ^ | ||
- | | {{wiki:PublicProperty.gif|Public Property}}[[#ActiveLayerNames|ActiveLayerNames]] | Collection<String> | | This property allows the active layers requested from the client to be shown on the map. | | ||
- | | {{wiki:PublicProperty.gif|Public Property}}[[#ActiveStyleNames|ActiveStyleNames]] | Collection<String> | | This property allows the active styles requested from the client to be shown on the map. | | ||
- | | {{wiki:PublicProperty.gif|Public Property}}[[#AxisOrder|AxisOrder]] | [[ThinkGeo.MapSuite.Core.WmsAxisOrder|WmsAxisOrder]] | | | | ||
- | | {{wiki:PublicProperty.gif|Public Property}}[[#BlueTranslation|BlueTranslation]] | Single | [[ThinkGeo.MapSuite.Core.RasterSource|RasterSource]] | This property gets and sets the amount of blue to apply to the image. | | ||
- | | {{wiki:PublicProperty.gif|Public Property}}[[#CapabilitesCacheTimeout|CapabilitesCacheTimeout]] | TimeSpan | | | | ||
- | | {{wiki:PublicProperty.gif|Public Property}}[[#Credentials|Credentials]] | ICredentials | | This property gets or sets the base authentication interface for retrieving credentials for Web Client authentication. | | ||
- | | {{wiki:PublicProperty.gif|Public Property}}[[#Crs|Crs]] | String | | This property gets or sets the projected or geographic coordinate reference system to be used. | | ||
- | | {{wiki:PublicProperty.gif|Public Property}}[[#Exceptions|Exceptions]] | String | | This property indicates the format in which the client wishes to be notified of service exceptions. | | ||
- | | {{wiki:PublicProperty.gif|Public Property}}[[#GreenTranslation|GreenTranslation]] | Single | [[ThinkGeo.MapSuite.Core.RasterSource|RasterSource]] | This property gets and sets the amount of green to apply to the image. | | ||
- | | {{wiki:PublicProperty.gif|Public Property}}[[#HasProjectionText|HasProjectionText]] | Boolean | [[ThinkGeo.MapSuite.Core.RasterSource|RasterSource]] | This property returns true if the RasterSource has projection text, false if not. | | ||
- | | {{wiki:PublicProperty.gif|Public Property}}[[#IsGrayscale|IsGrayscale]] | Boolean | [[ThinkGeo.MapSuite.Core.RasterSource|RasterSource]] | This property gets and sets if the image should be converted to grayscale. | | ||
- | | {{wiki:PublicProperty.gif|Public Property}}[[#IsNegative|IsNegative]] | Boolean | [[ThinkGeo.MapSuite.Core.RasterSource|RasterSource]] | This property gets and sets whether the image should be converted to negative (inverse colors). | | ||
- | | {{wiki:PublicProperty.gif|Public Property}}[[#IsOpen|IsOpen]] | Boolean | [[ThinkGeo.MapSuite.Core.RasterSource|RasterSource]] | This property returns true if the RasterSource is open and false if it is not. | | ||
- | | {{wiki:PublicProperty.gif|Public Property}}[[#IsTransparent|IsTransparent]] | Boolean | | This property gets or sets whether the response map image's background color is transparent or not. | | ||
- | | {{wiki:PublicProperty.gif|Public Property}}[[#OutputFormat|OutputFormat]] | String | | This property gets or sets the desired output format for the map being requested from the WMS. | | ||
- | | {{wiki:PublicProperty.gif|Public Property}}[[#Parameters|Parameters]] | Dictionary<String,String> | | This property specifies a dictionary used to update the request sent from the client to the WMS server. | | ||
- | | {{wiki:PublicProperty.gif|Public Property}}[[#Projection|Projection]] | [[ThinkGeo.MapSuite.Core.Projection|Projection]] | [[ThinkGeo.MapSuite.Core.RasterSource|RasterSource]] | | | ||
- | | {{wiki:PublicProperty.gif|Public Property}}[[#Proxy|Proxy]] | WebProxy | | This property gets or sets the proxy used for requesting a Web Response. | | ||
- | | {{wiki:PublicProperty.gif|Public Property}}[[#RedTranslation|RedTranslation]] | Single | [[ThinkGeo.MapSuite.Core.RasterSource|RasterSource]] | This property gets and sets the amount of red to apply to the image. | | ||
- | | {{wiki:PublicProperty.gif|Public Property}}[[#TimeoutInSecond|TimeoutInSecond]] | Int32 | | This property specifies the timeout of the web request in seconds. The default timeout value is 20 seconds. | | ||
- | | {{wiki:PublicProperty.gif|Public Property}}[[#Transparency|Transparency]] | Single | [[ThinkGeo.MapSuite.Core.RasterSource|RasterSource]] | This property gets and sets the amount of transparency to apply to the image. | | ||
- | | {{wiki:PublicProperty.gif|Public Property}}[[#Uri|Uri]] | Uri | | This property specifies the URI of the WMS server. | | ||
- | |||
- | ==== Protected Properties ==== | ||
- | ^ Name ^ Return ^ DeclaringType ^ Summary ^ | ||
- | | {{wiki:ProtectedProperty.gif|Protected Property}}[[#HasProjectionTextCore|HasProjectionTextCore]] | Boolean | [[ThinkGeo.MapSuite.Core.RasterSource|RasterSource]] | This property returns true if the RasterSource has projection text, false if not. | | ||
- | |||
- | ==== Public Events ==== | ||
- | ^ Name ^ Event Arguments ^ DeclaringType ^ Summary ^ | ||
- | | {{wiki:PublicEvent.gif|Public Event}}[[#ClosedRasterSource|ClosedRasterSource]] | [[ThinkGeo.MapSuite.Core.ClosedRasterSourceEventArgs|ClosedRasterSourceEventArgs]] | [[ThinkGeo.MapSuite.Core.RasterSource|RasterSource]] | This event is called after the closing of the RasterSource. | | ||
- | | {{wiki:PublicEvent.gif|Public Event}}[[#ClosingRasterSource|ClosingRasterSource]] | [[ThinkGeo.MapSuite.Core.ClosingRasterSourceEventArgs|ClosingRasterSourceEventArgs]] | [[ThinkGeo.MapSuite.Core.RasterSource|RasterSource]] | This event is called before the closing of the RasterSource. | | ||
- | | {{wiki:PublicEvent.gif|Public Event}}[[#OpenedRasterSource|OpenedRasterSource]] | [[ThinkGeo.MapSuite.Core.OpenedRasterSourceEventArgs|OpenedRasterSourceEventArgs]] | [[ThinkGeo.MapSuite.Core.RasterSource|RasterSource]] | This event is called after the opening of the RasterSource. | | ||
- | | {{wiki:PublicEvent.gif|Public Event}}[[#OpeningRasterSource|OpeningRasterSource]] | [[ThinkGeo.MapSuite.Core.OpeningRasterSourceEventArgs|OpeningRasterSourceEventArgs]] | [[ThinkGeo.MapSuite.Core.RasterSource|RasterSource]] | This event is called before the opening of the RasterSource. | | ||
- | | {{wiki:PublicEvent.gif|Public Event}}[[#SendingWebRequest|SendingWebRequest]] | [[ThinkGeo.MapSuite.Core.SendingWebRequestEventArgs|SendingWebRequestEventArgs]] | | This event is called before sending the reqeust for raster image. | | ||
- | | {{wiki:PublicEvent.gif|Public Event}}[[#SentWebRequest|SentWebRequest]] | [[ThinkGeo.MapSuite.Core.SentWebRequestEventArgs|SentWebRequestEventArgs]] | | This event is called after sent the request for raster image and the HttpWebResponse has come back. | | ||
- | |||
- | ===== Public Constructors ===== | ||
- | ==== WmsRasterSource() ==== | ||
- | This is the constructor for the class. If you use this constructor, then you need to set the required properties manually. | ||
- | === Overloads === | ||
- | This is the default constructor. | ||
- | === Parameters === | ||
- | ^ Name ^ Type ^ Description ^ | ||
- | |||
- | [[#Public Constructors|Go Back]] | ||
- | ==== WmsRasterSource(Uri) ==== | ||
- | This is the constructor the for the class. | ||
- | === Remarks === | ||
- | 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. | ||
- | === Parameters === | ||
- | ^ Name ^ Type ^ Description ^ | ||
- | | uri | Uri<!-- System.Uri --> | URI of the WMS server. | | ||
- | |||
- | [[#Public Constructors|Go Back]] | ||
- | ==== WmsRasterSource(Uri, WebProxy) ==== | ||
- | This is the constructor the for the class. | ||
- | === Remarks === | ||
- | 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. | ||
- | === Parameters === | ||
- | ^ Name ^ Type ^ Description ^ | ||
- | | uri | Uri<!-- System.Uri --> | URI of the WMS server. | | ||
- | | proxy | WebProxy<!-- System.Net.WebProxy --> | Proxy to use for the current WMS layer. | | ||
- | |||
- | [[#Public Constructors|Go Back]] | ||
- | ===== Protected Constructors ===== | ||
- | ===== Public Methods ===== | ||
- | ==== CloneDeep() ==== | ||
- | Create a copy of RasterSource using the deep clone process. | ||
- | === Remarks === | ||
- | The difference between deep clone and shallow clone is: when shallow cloned, only the object is copied, but the contained objects are not; while in deep clone it does copy the cloned object as well as all the objects within. | ||
- | === Return Value === | ||
- | ^ Return Type ^ Description ^ | ||
- | | [[ThinkGeo.MapSuite.Core.RasterSource|RasterSource]]<!-- ThinkGeo.MapSuite.Core.RasterSource --> | A cloned RasterSource. | | ||
- | |||
- | === Parameters === | ||
- | ^ Name ^ Type ^ Description ^ | ||
- | |||
- | <!-- ThinkGeo.MapSuite.Core.RasterSource --> | ||
- | [[#Public Methods|Go Back]] | ||
- | ==== Close() ==== | ||
- | This method closes the RasterSource and releases any resources it was using. | ||
- | === Remarks === | ||
- | This method is the concrete wrapper for the abstract method CloseCore. The Close method plays an important role in the life cycle of the RasterSource. 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 the Core version of 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 RasterSource 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. | ||
- | |||
- | As this is a concrete public method that wraps a Core method, we reserve the right to add events and other logic to pre- or post-process data returned by the Core version of the method. In this way, we leave our framework open on our end, but also allow you the developer to extend our logic to suit your needs. If you have questions about this, please contact our support team as we would be happy to work with you on extending our framework. | ||
- | === Return Value === | ||
- | ^ Return Type ^ Description ^ | ||
- | | Void<!-- System.Void --> | | | ||
- | |||
- | === Parameters === | ||
- | ^ Name ^ Type ^ Description ^ | ||
- | |||
- | <!-- ThinkGeo.MapSuite.Core.RasterSource --> | ||
- | [[#Public Methods|Go Back]] | ||
- | ==== Equals(Object) ==== | ||
- | === Return Value === | ||
- | ^ Return Type ^ Description ^ | ||
- | | Boolean<!-- System.Boolean --> | | | ||
- | |||
- | === Parameters === | ||
- | ^ Name ^ Type ^ Description ^ | ||
- | | obj | Object<!-- System.Object --> | | | ||
- | |||
- | <!-- System.Object --> | ||
- | [[#Public Methods|Go Back]] | ||
- | ==== GenerateWorldFileText(RectangleShape, Int32, Int32) ==== | ||
- | <!-- static --> | ||
- | This method returns a string that represents the image's world file based on the parameters passed in. | ||
- | === Remarks === | ||
- | This method returns a string that represents the image's world file. The world file is a file type that can accompany image files. It contains information about the image's position, resolution and other spatial-related items. It is common to have this kind of file associated with generic image types such as JPG, BMP, and normal TIFF because they do not have a mechanism to store this data internally. Modern GIS image types such as JPEG2000, ECW, and MrSid typically have this information stored internally. We provide this method in the event that you want to create your own world file from any image that either already has one or has its data stored internally. | ||
- | === Return Value === | ||
- | ^ Return Type ^ Description ^ | ||
- | | String<!-- System.String --> | This method returns a string that represents the image's world file based on the parameters passed in. | | ||
- | |||
- | === Parameters === | ||
- | ^ Name ^ Type ^ Description ^ | ||
- | | worldExtent | [[ThinkGeo.MapSuite.Core.RectangleShape|RectangleShape]]<!-- ThinkGeo.MapSuite.Core.RectangleShape --> | This parameter represents the worldExtent of the image in world coordinates. | | ||
- | | imageWidth | Int32<!-- System.Int32 --> | This parameter is the width of the image in screen coordinates. | | ||
- | | imageHeight | Int32<!-- System.Int32 --> | This parameter is the height of the image in screen coordinates. | | ||
- | |||
- | <!-- ThinkGeo.MapSuite.Core.RasterSource --> | ||
- | [[#Public Methods|Go Back]] | ||
- | ==== GetBoundingBox() ==== | ||
- | This method returns the bounding box of the RasterSource. | ||
- | === Remarks === | ||
- | This method returns the bounding box of the RasterSource. | ||
- | |||
- | As this is a concrete public method that wraps a Core method, we reserve the right to add events and other logic to pre- or post-process data returned by the Core version of the method. In this way, we leave our framework open on our end, but also allow you the developer to extend our logic to suit your needs. If you have questions about this, please contact our support team as we would be happy to work with you on extending our framework. | ||
- | === Return Value === | ||
- | ^ Return Type ^ Description ^ | ||
- | | [[ThinkGeo.MapSuite.Core.RectangleShape|RectangleShape]]<!-- ThinkGeo.MapSuite.Core.RectangleShape --> | This method returns the bounding box of the RasterSource. | | ||
- | |||
- | === Parameters === | ||
- | ^ Name ^ Type ^ Description ^ | ||
- | |||
- | <!-- ThinkGeo.MapSuite.Core.RasterSource --> | ||
- | [[#Public Methods|Go Back]] | ||
- | ==== GetFeatureInfo(ScreenPointF, Int32) ==== | ||
- | === Return Value === | ||
- | ^ Return Type ^ Description ^ | ||
- | | Dictionary<String,Collection<[[ThinkGeo.MapSuite.Core.Feature|Feature]]>><!-- System.Collections.Generic.Dictionary{System.String,System.Collections.ObjectModel.Collection{ThinkGeo.MapSuite.Core.Feature}} --> | | | ||
- | |||
- | === Parameters === | ||
- | ^ Name ^ Type ^ Description ^ | ||
- | | screenPointF | [[ThinkGeo.MapSuite.Core.ScreenPointF|ScreenPointF]]<!-- ThinkGeo.MapSuite.Core.ScreenPointF --> | | | ||
- | | maxFeatures | Int32<!-- System.Int32 --> | | | ||
- | |||
- | <!-- ThinkGeo.MapSuite.Core.WmsRasterSource --> | ||
- | [[#Public Methods|Go Back]] | ||
- | ==== GetFeatureInfo(ScreenPointF, String) ==== | ||
- | === Return Value === | ||
- | ^ Return Type ^ Description ^ | ||
- | | Dictionary<String,Collection<[[ThinkGeo.MapSuite.Core.Feature|Feature]]>><!-- System.Collections.Generic.Dictionary{System.String,System.Collections.ObjectModel.Collection{ThinkGeo.MapSuite.Core.Feature}} --> | | | ||
- | |||
- | === Parameters === | ||
- | ^ Name ^ Type ^ Description ^ | ||
- | | screenPointF | [[ThinkGeo.MapSuite.Core.ScreenPointF|ScreenPointF]]<!-- ThinkGeo.MapSuite.Core.ScreenPointF --> | | | ||
- | | infoFormat | String<!-- System.String --> | | | ||
- | |||
- | <!-- ThinkGeo.MapSuite.Core.WmsRasterSource --> | ||
- | [[#Public Methods|Go Back]] | ||
- | ==== GetFeatureInfo(ScreenPointF) ==== | ||
- | === Return Value === | ||
- | ^ Return Type ^ Description ^ | ||
- | | Dictionary<String,Collection<[[ThinkGeo.MapSuite.Core.Feature|Feature]]>><!-- System.Collections.Generic.Dictionary{System.String,System.Collections.ObjectModel.Collection{ThinkGeo.MapSuite.Core.Feature}} --> | | | ||
- | |||
- | === Parameters === | ||
- | ^ Name ^ Type ^ Description ^ | ||
- | | screenPointF | [[ThinkGeo.MapSuite.Core.ScreenPointF|ScreenPointF]]<!-- ThinkGeo.MapSuite.Core.ScreenPointF --> | | | ||
- | |||
- | <!-- ThinkGeo.MapSuite.Core.WmsRasterSource --> | ||
- | [[#Public Methods|Go Back]] | ||
- | ==== GetFeatureInfo(ScreenPointF, String, Int32) ==== | ||
- | === Return Value === | ||
- | ^ Return Type ^ Description ^ | ||
- | | Dictionary<String,Collection<[[ThinkGeo.MapSuite.Core.Feature|Feature]]>><!-- System.Collections.Generic.Dictionary{System.String,System.Collections.ObjectModel.Collection{ThinkGeo.MapSuite.Core.Feature}} --> | | | ||
- | |||
- | === Parameters === | ||
- | ^ Name ^ Type ^ Description ^ | ||
- | | screenPointF | [[ThinkGeo.MapSuite.Core.ScreenPointF|ScreenPointF]]<!-- ThinkGeo.MapSuite.Core.ScreenPointF --> | | | ||
- | | infoFormat | String<!-- System.String --> | | | ||
- | | maxFeatures | Int32<!-- System.Int32 --> | | | ||
- | |||
- | <!-- ThinkGeo.MapSuite.Core.WmsRasterSource --> | ||
- | [[#Public Methods|Go Back]] | ||
- | ==== GetHashCode() ==== | ||
- | === Return Value === | ||
- | ^ Return Type ^ Description ^ | ||
- | | Int32<!-- System.Int32 --> | | | ||
- | |||
- | === Parameters === | ||
- | ^ Name ^ Type ^ Description ^ | ||
- | |||
- | <!-- System.Object --> | ||
- | [[#Public Methods|Go Back]] | ||
- | ==== GetHorizontalResolution() ==== | ||
- | This method returns the horizontal resolution of the image. | ||
- | === Remarks === | ||
- | This method returns the horizontal resolution of the image. | ||
- | |||
- | As this is a concrete public method that wraps a Core method, we reserve the right to add events and other logic to pre- or post-process data returned by the Core version of the method. In this way, we leave our framework open on our end, but also allow you the developer to extend our logic to suit your needs. If you have questions about this, please contact our support team as we would be happy to work with you on extending our framework. | ||
- | === Return Value === | ||
- | ^ Return Type ^ Description ^ | ||
- | | Single<!-- System.Single --> | This method returns the horizontal resolution of the image. | | ||
- | |||
- | === Parameters === | ||
- | ^ Name ^ Type ^ Description ^ | ||
- | |||
- | <!-- ThinkGeo.MapSuite.Core.RasterSource --> | ||
- | [[#Public Methods|Go Back]] | ||
- | ==== GetImage(RectangleShape, Int32, Int32) ==== | ||
- | This method returns an image based on the worldExtent and image width and height. | ||
- | === Remarks === | ||
- | 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 your own RasterSource. | ||
- | |||
- | As this is a concrete public method that wraps a Core method, we reserve the right to add events and other logic to pre- or post-process data returned by the Core version of the method. In this way, we leave our framework open on our end, but also allow you the developer to extend our logic to suit your needs. If you have questions about this, please contact our support team as we would be happy to work with you on extending our framework. | ||
- | === Return Value === | ||
- | ^ Return Type ^ Description ^ | ||
- | | [[ThinkGeo.MapSuite.Core.GeoImage|GeoImage]]<!-- ThinkGeo.MapSuite.Core.GeoImage --> | This method returns an image based on the worldExtent and image width and height. | | ||
- | |||
- | === Parameters === | ||
- | ^ Name ^ Type ^ Description ^ | ||
- | | worldExtent | [[ThinkGeo.MapSuite.Core.RectangleShape|RectangleShape]]<!-- ThinkGeo.MapSuite.Core.RectangleShape --> | This parameter represents the worldExtent you want to draw. | | ||
- | | canvasWidth | Int32<!-- System.Int32 --> | This parameter represents the width of the image you want to draw. | | ||
- | | canvasHeight | Int32<!-- System.Int32 --> | This parameter represents the height of the image you want to draw. | | ||
- | |||
- | <!-- ThinkGeo.MapSuite.Core.RasterSource --> | ||
- | [[#Public Methods|Go Back]] | ||
- | ==== GetImageHeight() ==== | ||
- | This method returns the height of the image in screen coordinates. | ||
- | === Remarks === | ||
- | This method returns the height of the image in screen coordinates. | ||
- | |||
- | As this is a concrete public method that wraps a Core method, we reserve the right to add events and other logic to pre- or post-process data returned by the Core version of the method. In this way, we leave our framework open on our end, but also allow you the developer to extend our logic to suit your needs. If you have questions about this, please contact our support team as we would be happy to work with you on extending our framework. | ||
- | === Return Value === | ||
- | ^ Return Type ^ Description ^ | ||
- | | Int32<!-- System.Int32 --> | This method returns the height of the image in screen coordinates. | | ||
- | |||
- | === Parameters === | ||
- | ^ Name ^ Type ^ Description ^ | ||
- | |||
- | <!-- ThinkGeo.MapSuite.Core.RasterSource --> | ||
- | [[#Public Methods|Go Back]] | ||
- | ==== GetImageWidth() ==== | ||
- | This method returns the width of the image in screen coordinates. | ||
- | === Remarks === | ||
- | This method returns the width of the image in screen coordinates. | ||
- | |||
- | As this is a concrete public method that wraps a Core method, we reserve the right to add events and other logic to pre- or post-process data returned by the Core version of the method. In this way, we leave our framework open on our end, but also allow you the developer to extend our logic to suit your needs. If you have questions about this, please contact our support team as we would be happy to work with you on extending our framework. | ||
- | === Return Value === | ||
- | ^ Return Type ^ Description ^ | ||
- | | Int32<!-- System.Int32 --> | This method returns the width of the image in screen coordinates. | | ||
- | |||
- | === Parameters === | ||
- | ^ Name ^ Type ^ Description ^ | ||
- | |||
- | <!-- ThinkGeo.MapSuite.Core.RasterSource --> | ||
- | [[#Public Methods|Go Back]] | ||
- | ==== GetProjectionText() ==== | ||
- | This method returns the projection text in proj4 format. | ||
- | === Return Value === | ||
- | ^ Return Type ^ Description ^ | ||
- | | String<!-- System.String --> | This method returns the projection text in proj4 format. | | ||
- | |||
- | === Parameters === | ||
- | ^ Name ^ Type ^ Description ^ | ||
- | |||
- | <!-- ThinkGeo.MapSuite.Core.RasterSource --> | ||
- | [[#Public Methods|Go Back]] | ||
- | ==== GetRequestUrl(RectangleShape, Int32, Int32) ==== | ||
- | Get the request URL from the client to the WMS. | ||
- | === Return Value === | ||
- | ^ Return Type ^ Description ^ | ||
- | | String<!-- System.String --> | The request URL from the client to the WMS. | | ||
- | |||
- | === Parameters === | ||
- | ^ Name ^ Type ^ Description ^ | ||
- | | worldExtent | [[ThinkGeo.MapSuite.Core.RectangleShape|RectangleShape]]<!-- ThinkGeo.MapSuite.Core.RectangleShape --> | The world extent requested by the client to get the map. | | ||
- | | canvasWidth | Int32<!-- System.Int32 --> | The returning map width, as well as the drawing canvas width. | | ||
- | | canvasHeight | Int32<!-- System.Int32 --> | The returning map height, as well as the drawing canvas height. | | ||
- | |||
- | <!-- ThinkGeo.MapSuite.Core.WmsRasterSource --> | ||
- | [[#Public Methods|Go Back]] | ||
- | ==== GetServerCapabilitiesXml() ==== | ||
- | This API gets the GetCapabilites document of the service. | ||
- | === Return Value === | ||
- | ^ Return Type ^ Description ^ | ||
- | | String<!-- System.String --> | This API returns the GetCapabilites document of the service. | | ||
- | |||
- | === Parameters === | ||
- | ^ Name ^ Type ^ Description ^ | ||
- | |||
- | <!-- ThinkGeo.MapSuite.Core.WmsRasterSource --> | ||
- | [[#Public Methods|Go Back]] | ||
- | ==== GetServerCrss() ==== | ||
- | This method returns the projected or geographic coordinate reference systems to be used. | ||
- | === Return Value === | ||
- | ^ Return Type ^ Description ^ | ||
- | | Collection<String><!-- System.Collections.ObjectModel.Collection{System.String} --> | | | ||
- | |||
- | === Parameters === | ||
- | ^ Name ^ Type ^ Description ^ | ||
- | |||
- | <!-- ThinkGeo.MapSuite.Core.WmsRasterSource --> | ||
- | [[#Public Methods|Go Back]] | ||
- | ==== GetServerExceptionFormats() ==== | ||
- | This method returns the exception format at the server side. | ||
- | === Return Value === | ||
- | ^ Return Type ^ Description ^ | ||
- | | Collection<String><!-- System.Collections.ObjectModel.Collection{System.String} --> | The exception format at the server side. | | ||
- | |||
- | === Parameters === | ||
- | ^ Name ^ Type ^ Description ^ | ||
- | |||
- | <!-- ThinkGeo.MapSuite.Core.WmsRasterSource --> | ||
- | [[#Public Methods|Go Back]] | ||
- | ==== GetServerFeatureInfoFormats() ==== | ||
- | This API gets the WMS server FeatureInfo formats of the service. | ||
- | === Return Value === | ||
- | ^ Return Type ^ Description ^ | ||
- | | Collection<String><!-- System.Collections.ObjectModel.Collection{System.String} --> | This API returns the FeatureInfo formats supported on the server-side. | | ||
- | |||
- | === Parameters === | ||
- | ^ Name ^ Type ^ Description ^ | ||
- | |||
- | <!-- ThinkGeo.MapSuite.Core.WmsRasterSource --> | ||
- | [[#Public Methods|Go Back]] | ||
- | ==== GetServerLayerNames() ==== | ||
- | This method returns the names of all layers at the server side. | ||
- | === Return Value === | ||
- | ^ Return Type ^ Description ^ | ||
- | | Collection<String><!-- System.Collections.ObjectModel.Collection{System.String} --> | The names of all layers at the server side. | | ||
- | |||
- | === Parameters === | ||
- | ^ Name ^ Type ^ Description ^ | ||
- | |||
- | <!-- ThinkGeo.MapSuite.Core.WmsRasterSource --> | ||
- | [[#Public Methods|Go Back]] | ||
- | ==== GetServerOutputFormats() ==== | ||
- | This method returns the output format at the server side. | ||
- | === Return Value === | ||
- | ^ Return Type ^ Description ^ | ||
- | | Collection<String><!-- System.Collections.ObjectModel.Collection{System.String} --> | The output format at the server side. | | ||
- | |||
- | === Parameters === | ||
- | ^ Name ^ Type ^ Description ^ | ||
- | |||
- | <!-- ThinkGeo.MapSuite.Core.WmsRasterSource --> | ||
- | [[#Public Methods|Go Back]] | ||
- | ==== GetServerStyleNames() ==== | ||
- | This method returns the names of all styles at the server side. | ||
- | === Return Value === | ||
- | ^ Return Type ^ Description ^ | ||
- | | Collection<String><!-- System.Collections.ObjectModel.Collection{System.String} --> | The names of all styles at the server side. | | ||
- | |||
- | === Parameters === | ||
- | ^ Name ^ Type ^ Description ^ | ||
- | |||
- | <!-- ThinkGeo.MapSuite.Core.WmsRasterSource --> | ||
- | [[#Public Methods|Go Back]] | ||
- | ==== GetServiceVersion() ==== | ||
- | This API gets the WMS server version of the service. | ||
- | === Return Value === | ||
- | ^ Return Type ^ Description ^ | ||
- | | String<!-- System.String --> | Returns a string reflecting the version of the service in WMS. | | ||
- | |||
- | === Parameters === | ||
- | ^ Name ^ Type ^ Description ^ | ||
- | |||
- | <!-- ThinkGeo.MapSuite.Core.WmsRasterSource --> | ||
- | [[#Public Methods|Go Back]] | ||
- | ==== GetType() ==== | ||
- | === Return Value === | ||
- | ^ Return Type ^ Description ^ | ||
- | | Type<!-- System.Type --> | | | ||
- | |||
- | === Parameters === | ||
- | ^ Name ^ Type ^ Description ^ | ||
- | |||
- | <!-- System.Object --> | ||
- | [[#Public Methods|Go Back]] | ||
- | ==== GetVerticalResolution() ==== | ||
- | This method returns the vertical resolution of the image. | ||
- | === Remarks === | ||
- | This method returns the vertical resolution of the image. | ||
- | |||
- | As this is a concrete public method that wraps a Core method, we reserve the right to add events and other logic to pre- or post-process data returned by the Core version of the method. In this way, we leave our framework open on our end, but also allow you the developer to extend our logic to suit your needs. If you have questions about this, please contact our support team as we would be happy to work with you on extending our framework. | ||
- | === Return Value === | ||
- | ^ Return Type ^ Description ^ | ||
- | | Single<!-- System.Single --> | This method returns the vertical resolution of the image. | | ||
- | |||
- | === Parameters === | ||
- | ^ Name ^ Type ^ Description ^ | ||
- | |||
- | <!-- ThinkGeo.MapSuite.Core.RasterSource --> | ||
- | [[#Public Methods|Go Back]] | ||
- | ==== GetWorldFileText() ==== | ||
- | This method returns a string that represents the image's world file. | ||
- | === Remarks === | ||
- | This method wraps the Core version of this method and returns a string that represents the image's world file. The world file is a file type that can accompany image files. It contains information about the image's position, resolution and other spatial-related items. It is common to have this kind of file associated with generic image types such as JPG, BMP, and normal TIFF because they do not have a mechanism to store this data internally. Modern GIS image types such as JPEG2000, ECW, and MrSid typically have this information stored internally. We provide this method in the event that you want to create your own world file from any image that either already has one or has its data stored internally. | ||
- | |||
- | As this is a concrete public method that wraps a Core method, we reserve the right to add events and other logic to pre- or post-process data returned by the Core version of the method. In this way, we leave our framework open on our end, but also allow you the developer to extend our logic to suit your needs. If you have questions about this, please contact our support team as we would be happy to work with you on extending our framework. | ||
- | === Return Value === | ||
- | ^ Return Type ^ Description ^ | ||
- | | String<!-- System.String --> | This method returns a string that represents the image's world file. | | ||
- | |||
- | === Parameters === | ||
- | ^ Name ^ Type ^ Description ^ | ||
- | |||
- | <!-- ThinkGeo.MapSuite.Core.RasterSource --> | ||
- | [[#Public Methods|Go Back]] | ||
- | ==== Open() ==== | ||
- | This method opens the RasterSource so that it is initialized and ready to use. | ||
- | === Remarks === | ||
- | This method is the concrete wrapper for the abstract method OpenCore. 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 the 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. | ||
- | As this is a concrete public method that wraps a Core method, we reserve the right to add events and other logic to pre- or post-process data returned by the Core version of the method. In this way, we leave our framework open on our end, but also allow you the developer to extend our logic to suit your needs. If you have questions about this, please contact our support team as we would be happy to work with you on extending our framework. | ||
- | === Return Value === | ||
- | ^ Return Type ^ Description ^ | ||
- | | Void<!-- System.Void --> | | | ||
- | |||
- | === Parameters === | ||
- | ^ Name ^ Type ^ Description ^ | ||
- | |||
- | <!-- ThinkGeo.MapSuite.Core.RasterSource --> | ||
- | [[#Public Methods|Go Back]] | ||
- | ==== ToString() ==== | ||
- | === Return Value === | ||
- | ^ Return Type ^ Description ^ | ||
- | | String<!-- System.String --> | | | ||
- | |||
- | === Parameters === | ||
- | ^ Name ^ Type ^ Description ^ | ||
- | |||
- | <!-- System.Object --> | ||
- | [[#Public Methods|Go Back]] | ||
- | ===== Protected Methods ===== | ||
- | ==== BuildWmsGetFeatureInfoUri(ScreenPointF, String, Int32) ==== | ||
- | === Return Value === | ||
- | ^ Return Type ^ Description ^ | ||
- | | Uri<!-- System.Uri --> | | | ||
- | |||
- | === Parameters === | ||
- | ^ Name ^ Type ^ Description ^ | ||
- | | screenPointF | [[ThinkGeo.MapSuite.Core.ScreenPointF|ScreenPointF]]<!-- ThinkGeo.MapSuite.Core.ScreenPointF --> | | | ||
- | | infoFormat | String<!-- System.String --> | | | ||
- | | maxFeatures | Int32<!-- System.Int32 --> | | | ||
- | |||
- | <!-- ThinkGeo.MapSuite.Core.WmsRasterSource --> | ||
- | [[#Protected Methods|Go Back]] | ||
- | ==== CloneDeepCore() ==== | ||
- | Create a copy of RasterSource using the deep clone process. The default implementation uses serialization. | ||
- | === Remarks === | ||
- | The difference between deep clone and shallow clone is: when shallow cloned, only the object is copied, but the contained objects are not; while in deep clone it does copy the cloned object as well as all the objects within. | ||
- | === Return Value === | ||
- | ^ Return Type ^ Description ^ | ||
- | | [[ThinkGeo.MapSuite.Core.RasterSource|RasterSource]]<!-- ThinkGeo.MapSuite.Core.RasterSource --> | A cloned RasterSource. | | ||
- | |||
- | === Parameters === | ||
- | ^ Name ^ Type ^ Description ^ | ||
- | |||
- | <!-- ThinkGeo.MapSuite.Core.RasterSource --> | ||
- | [[#Protected Methods|Go Back]] | ||
- | ==== CloseCore() ==== | ||
- | === Return Value === | ||
- | ^ Return Type ^ Description ^ | ||
- | | Void<!-- System.Void --> | | | ||
- | |||
- | === Parameters === | ||
- | ^ Name ^ Type ^ Description ^ | ||
- | |||
- | <!-- ThinkGeo.MapSuite.Core.RasterSource(overriden) --> | ||
- | [[#Protected Methods|Go Back]] | ||
- | ==== Finalize() ==== | ||
- | === Return Value === | ||
- | ^ Return Type ^ Description ^ | ||
- | | Void<!-- System.Void --> | | | ||
- | |||
- | === Parameters === | ||
- | ^ Name ^ Type ^ Description ^ | ||
- | |||
- | <!-- System.Object --> | ||
- | [[#Protected Methods|Go Back]] | ||
- | ==== GetBoundingBoxCore() ==== | ||
- | This method returns the bounding box of the RasterSource. | ||
- | === Remarks === | ||
- | This method returns the bounding box of the RasterSource. | ||
- | === Return Value === | ||
- | ^ Return Type ^ Description ^ | ||
- | | [[ThinkGeo.MapSuite.Core.RectangleShape|RectangleShape]]<!-- ThinkGeo.MapSuite.Core.RectangleShape --> | The bounding box of the RasterSource. | | ||
- | |||
- | === Parameters === | ||
- | ^ Name ^ Type ^ Description ^ | ||
- | |||
- | <!-- ThinkGeo.MapSuite.Core.RasterSource(overriden) --> | ||
- | [[#Protected Methods|Go Back]] | ||
- | ==== GetFeatureInfoCore(ScreenPointF, String, Int32) ==== | ||
- | === Return Value === | ||
- | ^ Return Type ^ Description ^ | ||
- | | Dictionary<String,Collection<[[ThinkGeo.MapSuite.Core.Feature|Feature]]>><!-- System.Collections.Generic.Dictionary{System.String,System.Collections.ObjectModel.Collection{ThinkGeo.MapSuite.Core.Feature}} --> | | | ||
- | |||
- | === Parameters === | ||
- | ^ Name ^ Type ^ Description ^ | ||
- | | screenPointF | [[ThinkGeo.MapSuite.Core.ScreenPointF|ScreenPointF]]<!-- ThinkGeo.MapSuite.Core.ScreenPointF --> | | | ||
- | | infoFormat | String<!-- System.String --> | | | ||
- | | maxFeatures | Int32<!-- System.Int32 --> | | | ||
- | |||
- | <!-- ThinkGeo.MapSuite.Core.WmsRasterSource --> | ||
- | [[#Protected Methods|Go Back]] | ||
- | ==== GetImageCore(RectangleShape, Int32, Int32) ==== | ||
- | This method returns an image based on the worldExtent and image width and height. | ||
- | === Remarks === | ||
- | 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. | ||
- | === Return Value === | ||
- | ^ Return Type ^ Description ^ | ||
- | | [[ThinkGeo.MapSuite.Core.GeoImage|GeoImage]]<!-- ThinkGeo.MapSuite.Core.GeoImage --> | This method returns an image based on the worldExtent and image width and height. | | ||
- | |||
- | === Parameters === | ||
- | ^ Name ^ Type ^ Description ^ | ||
- | | worldExtent | [[ThinkGeo.MapSuite.Core.RectangleShape|RectangleShape]]<!-- ThinkGeo.MapSuite.Core.RectangleShape --> | This parameter represents the worldExtent you want to draw. | | ||
- | | canvasWidth | Int32<!-- System.Int32 --> | This parameter represents the width of the image you want to draw. | | ||
- | | canvasHeight | Int32<!-- System.Int32 --> | This parameter represents the height of the image you want to draw. | | ||
- | |||
- | <!-- ThinkGeo.MapSuite.Core.RasterSource(overriden) --> | ||
- | [[#Protected Methods|Go Back]] | ||
- | ==== GetImageHeightCore() ==== | ||
- | This method returns the height of the image in screen coordinates. | ||
- | === Remarks === | ||
- | This virtual method is called from the concrete method GetImageHeight. It returns the height of the image in screen coordinates. | ||
- | === Return Value === | ||
- | ^ Return Type ^ Description ^ | ||
- | | Int32<!-- System.Int32 --> | The height of the image in screen coordinates. | | ||
- | |||
- | === Parameters === | ||
- | ^ Name ^ Type ^ Description ^ | ||
- | |||
- | <!-- ThinkGeo.MapSuite.Core.RasterSource(overriden) --> | ||
- | [[#Protected Methods|Go Back]] | ||
- | ==== GetImageWidthCore() ==== | ||
- | This method returns the width of the image in screen coordinates. | ||
- | === Remarks === | ||
- | This virtual method is called from the concrete method GetImageWidth. It returns the width of the image in screen coordinates. | ||
- | === Return Value === | ||
- | ^ Return Type ^ Description ^ | ||
- | | Int32<!-- System.Int32 --> | The width of the image in screen coordinates. | | ||
- | |||
- | === Parameters === | ||
- | ^ Name ^ Type ^ Description ^ | ||
- | |||
- | <!-- ThinkGeo.MapSuite.Core.RasterSource(overriden) --> | ||
- | [[#Protected Methods|Go Back]] | ||
- | ==== GetProjectionTextCore() ==== | ||
- | This method returns the projection text in proj4 format. | ||
- | === Remarks === | ||
- | This protected virtual method is called from the concrete public method GetProjectionText. | ||
- | |||
- | The default implementation of this core method is to throw an exception. So you need to overwrite this method to return the RasterSource projection text. | ||
- | === Return Value === | ||
- | ^ Return Type ^ Description ^ | ||
- | | String<!-- System.String --> | Projection text string. | | ||
- | |||
- | === Parameters === | ||
- | ^ Name ^ Type ^ Description ^ | ||
- | |||
- | <!-- ThinkGeo.MapSuite.Core.RasterSource --> | ||
- | [[#Protected Methods|Go Back]] | ||
- | ==== GetRequestUrlCore(RectangleShape, Int32, Int32) ==== | ||
- | === Return Value === | ||
- | ^ Return Type ^ Description ^ | ||
- | | String<!-- System.String --> | | | ||
- | |||
- | === Parameters === | ||
- | ^ Name ^ Type ^ Description ^ | ||
- | | worldExtent | [[ThinkGeo.MapSuite.Core.RectangleShape|RectangleShape]]<!-- ThinkGeo.MapSuite.Core.RectangleShape --> | | | ||
- | | canvasWidth | Int32<!-- System.Int32 --> | | | ||
- | | canvasHeight | Int32<!-- System.Int32 --> | | | ||
- | |||
- | <!-- ThinkGeo.MapSuite.Core.WmsRasterSource --> | ||
- | [[#Protected Methods|Go Back]] | ||
- | ==== MemberwiseClone() ==== | ||
- | === Return Value === | ||
- | ^ Return Type ^ Description ^ | ||
- | | Object<!-- System.Object --> | | | ||
- | |||
- | === Parameters === | ||
- | ^ Name ^ Type ^ Description ^ | ||
- | |||
- | <!-- System.Object --> | ||
- | [[#Protected Methods|Go Back]] | ||
- | ==== OnClosedRasterSource(ClosedRasterSourceEventArgs) ==== | ||
- | This method allows you to raise the ClosedRasterSource event from a derived class. | ||
- | === Remarks === | ||
- | You can call this method from a derived class to enable it to raise the ClosedRasterSource event. This may be useful if you plan to extend the RasterSource and you need access to the event. | ||
- | |||
- | Details on the event: | ||
- | |||
- | This event is called after the closing of the RasterSource. Technically, this event is called after the calling of the Close method on the RasterSource and after the protected CloseCore method. | ||
- | |||
- | It is typical that the RasterSource may be opened and closed may times during the life cycle of your application. The type of control the MapEngine is embedded in will dictate how often this happens. For example, in the case of the Web Edition, each time a RasterSource is in the Ajax or Post Back part of the page cycle, it will close the RasterSource before returning back to the client. This is to conserve resources, as the web is a connection-less environment. In the case of the Desktop Edition, we can keep the RasterSource open, knowing that we can maintain a persistent connection. | ||
- | === Return Value === | ||
- | ^ Return Type ^ Description ^ | ||
- | | Void<!-- System.Void --> | | | ||
- | |||
- | === Parameters === | ||
- | ^ Name ^ Type ^ Description ^ | ||
- | | e | [[ThinkGeo.MapSuite.Core.ClosedRasterSourceEventArgs|ClosedRasterSourceEventArgs]]<!-- ThinkGeo.MapSuite.Core.ClosedRasterSourceEventArgs --> | This parameter is the event arguments that define the parameters passed to the recipient of the event. | | ||
- | |||
- | <!-- ThinkGeo.MapSuite.Core.RasterSource --> | ||
- | [[#Protected Methods|Go Back]] | ||
- | ==== OnClosingRasterSource(ClosingRasterSourceEventArgs) ==== | ||
- | This method allows you to raise the ClosingRasterSource event from a derived class. | ||
- | === Remarks === | ||
- | You can call this method from a derived class to enable it to raise the ClosingRasterSource event. This may be useful if you plan to extend the RasterSource and you need access to the event. | ||
- | |||
- | Details on the event: | ||
- | |||
- | This event is called before the closing of the RasterSource. Technically, this event is called after the calling of the Close method on the RasterSource, but before the protected CloseCore method. | ||
- | |||
- | It is typical that the RasterSource may be opened and closed may times during the life cycle of your application. The type of control the MapEngine is embedded in will dictate how often this happens. For example, in the case of the Web Edition, each time a RasterSource is in the Ajax or Post Back part of the page cycle, it will close the RasterSource before returning back to the client. This is to conserve resources, as the web is a connection-less environment. In the case of the Desktop Edition, we can keep the RasterSource open, knowing that we can maintain a persistent connection. | ||
- | === Return Value === | ||
- | ^ Return Type ^ Description ^ | ||
- | | Void<!-- System.Void --> | | | ||
- | |||
- | === Parameters === | ||
- | ^ Name ^ Type ^ Description ^ | ||
- | | e | [[ThinkGeo.MapSuite.Core.ClosingRasterSourceEventArgs|ClosingRasterSourceEventArgs]]<!-- ThinkGeo.MapSuite.Core.ClosingRasterSourceEventArgs --> | This parameter is the event arguments that define the parameters passed to the recipient of the event. | | ||
- | |||
- | <!-- ThinkGeo.MapSuite.Core.RasterSource --> | ||
- | [[#Protected Methods|Go Back]] | ||
- | ==== OnOpenedRasterSource(OpenedRasterSourceEventArgs) ==== | ||
- | This method allows you to raise the OpenedRasterSource event from a derived class. | ||
- | === Remarks === | ||
- | You can call this method from a derived class to enable it to raise the OpenedRasterSource event. This may be useful if you plan to extend the RasterSource and you need access to the event. | ||
- | |||
- | Details on the event: | ||
- | |||
- | This event is called after the opening of the RasterSource. Technically, this event is called after the calling of the Open method on the RasterSource and after the protected OpenCore method is called. | ||
- | |||
- | It is typical that the RasterSource may be opened and closed may times during the life cycle of your application. The type of control the MapEngine is embedded in will dictate how often this happens. For example, in the case of the Web Edition, each time a RasterSource is in the Ajax or Post Back part of the page cycle, it will close the RasterSource before returning back to the client. This is to conserve resources, as the web is a connection-less environment. In the case of the Desktop Edition, we can keep the RasterSource open, knowing that we can maintain a persistent connection. | ||
- | === Return Value === | ||
- | ^ Return Type ^ Description ^ | ||
- | | Void<!-- System.Void --> | | | ||
- | |||
- | === Parameters === | ||
- | ^ Name ^ Type ^ Description ^ | ||
- | | e | [[ThinkGeo.MapSuite.Core.OpenedRasterSourceEventArgs|OpenedRasterSourceEventArgs]]<!-- ThinkGeo.MapSuite.Core.OpenedRasterSourceEventArgs --> | This parameter is the event arguments that define the parameters passed to the recipient of the event. | | ||
- | |||
- | <!-- ThinkGeo.MapSuite.Core.RasterSource --> | ||
- | [[#Protected Methods|Go Back]] | ||
- | ==== OnOpeningRasterSource(OpeningRasterSourceEventArgs) ==== | ||
- | This method allows you to raise the OpeningRasterSource event from a derived class. | ||
- | === Remarks === | ||
- | You can call this method from a derived class to enable it to raise the OpeningRasterSource event. This may be useful if you plan to extend the RasterSource and you need access to the event. | ||
- | |||
- | Details on the event: | ||
- | |||
- | This event is called before the opening of the RasterSource. Technically, this event is called after the calling of the Open method on the RasterSource, but before the protected OpenCore method. | ||
- | |||
- | It is typical that the RasterSource may be opened and closed may times during the life cycle of your application. The type of control the MapEngine is embedded in will dictate how often this happens. For example, in the case of the Web Edition, each time a RasterSource is in the Ajax or Post Back part of the page cycle, it will close the RasterSource before returning back to the client. This is to conserve resources, as the web is a connection-less environment. In the case of the Desktop Edition, we can keep the RasterSource open, knowing that we can maintain a persistent connection. | ||
- | === Return Value === | ||
- | ^ Return Type ^ Description ^ | ||
- | | Void<!-- System.Void --> | | | ||
- | |||
- | === Parameters === | ||
- | ^ Name ^ Type ^ Description ^ | ||
- | | e | [[ThinkGeo.MapSuite.Core.OpeningRasterSourceEventArgs|OpeningRasterSourceEventArgs]]<!-- ThinkGeo.MapSuite.Core.OpeningRasterSourceEventArgs --> | This parameter is the event arguments that define the parameters passed to the recipient of the event. | | ||
- | |||
- | <!-- ThinkGeo.MapSuite.Core.RasterSource --> | ||
- | [[#Protected Methods|Go Back]] | ||
- | ==== OnSendingWebRequest(SendingWebRequestEventArgs) ==== | ||
- | === Return Value === | ||
- | ^ Return Type ^ Description ^ | ||
- | | Void<!-- System.Void --> | | | ||
- | |||
- | === Parameters === | ||
- | ^ Name ^ Type ^ Description ^ | ||
- | | e | [[ThinkGeo.MapSuite.Core.SendingWebRequestEventArgs|SendingWebRequestEventArgs]]<!-- ThinkGeo.MapSuite.Core.SendingWebRequestEventArgs --> | | | ||
- | |||
- | <!-- ThinkGeo.MapSuite.Core.WmsRasterSource --> | ||
- | [[#Protected Methods|Go Back]] | ||
- | ==== OnSentWebRequest(SentWebRequestEventArgs) ==== | ||
- | === Return Value === | ||
- | ^ Return Type ^ Description ^ | ||
- | | Void<!-- System.Void --> | | | ||
- | |||
- | === Parameters === | ||
- | ^ Name ^ Type ^ Description ^ | ||
- | | e | [[ThinkGeo.MapSuite.Core.SentWebRequestEventArgs|SentWebRequestEventArgs]]<!-- ThinkGeo.MapSuite.Core.SentWebRequestEventArgs --> | | | ||
- | |||
- | <!-- ThinkGeo.MapSuite.Core.WmsRasterSource --> | ||
- | [[#Protected Methods|Go Back]] | ||
- | ==== OpenCore() ==== | ||
- | This method opens the RasterSource so that it is initialized and ready to use. | ||
- | === Remarks === | ||
- | 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. | ||
- | === Return Value === | ||
- | ^ Return Type ^ Description ^ | ||
- | | Void<!-- System.Void --> | | | ||
- | |||
- | === Parameters === | ||
- | ^ Name ^ Type ^ Description ^ | ||
- | |||
- | <!-- ThinkGeo.MapSuite.Core.RasterSource(overriden) --> | ||
- | [[#Protected Methods|Go Back]] | ||
- | ==== SendWebRequest(WebRequest) ==== | ||
- | === Return Value === | ||
- | ^ Return Type ^ Description ^ | ||
- | | WebResponse<!-- System.Net.WebResponse --> | | | ||
- | |||
- | === Parameters === | ||
- | ^ Name ^ Type ^ Description ^ | ||
- | | webRequest | WebRequest<!-- System.Net.WebRequest --> | | | ||
- | |||
- | <!-- ThinkGeo.MapSuite.Core.WmsRasterSource --> | ||
- | [[#Protected Methods|Go Back]] | ||
- | ==== SendWebRequestCore(WebRequest) ==== | ||
- | === Return Value === | ||
- | ^ Return Type ^ Description ^ | ||
- | | WebResponse<!-- System.Net.WebResponse --> | | | ||
- | |||
- | === Parameters === | ||
- | ^ Name ^ Type ^ Description ^ | ||
- | | webRequest | WebRequest<!-- System.Net.WebRequest --> | | | ||
- | |||
- | <!-- ThinkGeo.MapSuite.Core.WmsRasterSource --> | ||
- | [[#Protected Methods|Go Back]] | ||
- | ===== Public Properties ===== | ||
- | ==== ActiveLayerNames ==== | ||
- | This property allows the active layers requested from the client to be shown on the map. | ||
- | === Remarks === | ||
- | When requesting a map, a client may specify the layers to be shown on the map. | ||
- | === Return Value === | ||
- | ^ Return Type ^ | ||
- | | Collection<String><!-- System.Collections.ObjectModel.Collection{System.String} --> | | ||
- | |||
- | <!-- ThinkGeo.MapSuite.Core.WmsRasterSource --> | ||
- | [[#Public Properties|Go Back]] | ||
- | ==== ActiveStyleNames ==== | ||
- | This property allows the active styles requested from the client to be shown on the map. | ||
- | === Remarks === | ||
- | When requesting a map, a client may specify the styles to be shown on the map. | ||
- | === Return Value === | ||
- | ^ Return Type ^ | ||
- | | Collection<String><!-- System.Collections.ObjectModel.Collection{System.String} --> | | ||
- | |||
- | <!-- ThinkGeo.MapSuite.Core.WmsRasterSource --> | ||
- | [[#Public Properties|Go Back]] | ||
- | ==== AxisOrder ==== | ||
- | === Return Value === | ||
- | ^ Return Type ^ | ||
- | | [[ThinkGeo.MapSuite.Core.WmsAxisOrder|WmsAxisOrder]]<!-- ThinkGeo.MapSuite.Core.WmsAxisOrder --> | | ||
- | |||
- | <!-- ThinkGeo.MapSuite.Core.WmsRasterSource --> | ||
- | [[#Public Properties|Go Back]] | ||
- | ==== BlueTranslation ==== | ||
- | This property gets and sets the amount of blue to apply to the image. | ||
- | === Return Value === | ||
- | ^ Return Type ^ | ||
- | | Single<!-- System.Single --> | | ||
- | |||
- | <!-- ThinkGeo.MapSuite.Core.RasterSource --> | ||
- | [[#Public Properties|Go Back]] | ||
- | ==== CapabilitesCacheTimeout ==== | ||
- | === Return Value === | ||
- | ^ Return Type ^ | ||
- | | TimeSpan<!-- System.TimeSpan --> | | ||
- | |||
- | <!-- ThinkGeo.MapSuite.Core.WmsRasterSource --> | ||
- | [[#Public Properties|Go Back]] | ||
- | ==== Credentials ==== | ||
- | This property gets or sets the base authentication interface for retrieving credentials for Web Client authentication. | ||
- | === Return Value === | ||
- | ^ Return Type ^ | ||
- | | ICredentials<!-- System.Net.ICredentials --> | | ||
- | |||
- | <!-- ThinkGeo.MapSuite.Core.WmsRasterSource --> | ||
- | [[#Public Properties|Go Back]] | ||
- | ==== Crs ==== | ||
- | This property gets or sets the projected or geographic coordinate reference system to be used. | ||
- | === Return Value === | ||
- | ^ Return Type ^ | ||
- | | String<!-- System.String --> | | ||
- | |||
- | <!-- ThinkGeo.MapSuite.Core.WmsRasterSource --> | ||
- | [[#Public Properties|Go Back]] | ||
- | ==== Exceptions ==== | ||
- | This property indicates the format in which the client wishes to be notified of service exceptions. | ||
- | === Remarks === | ||
- | 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 Value === | ||
- | ^ Return Type ^ | ||
- | | String<!-- System.String --> | | ||
- | |||
- | <!-- ThinkGeo.MapSuite.Core.WmsRasterSource --> | ||
- | [[#Public Properties|Go Back]] | ||
- | ==== GreenTranslation ==== | ||
- | This property gets and sets the amount of green to apply to the image. | ||
- | === Return Value === | ||
- | ^ Return Type ^ | ||
- | | Single<!-- System.Single --> | | ||
- | |||
- | <!-- ThinkGeo.MapSuite.Core.RasterSource --> | ||
- | [[#Public Properties|Go Back]] | ||
- | ==== HasProjectionText ==== | ||
- | This property returns true if the RasterSource has projection text, false if not. | ||
- | === Remarks === | ||
- | Before you call GetProjectionText method, you should check this property to ensure that your RasterSource has projection information. It will throw an exception if there is no projection information in the RasterSource. | ||
- | === Return Value === | ||
- | ^ Return Type ^ | ||
- | | Boolean<!-- System.Boolean --> | | ||
- | |||
- | <!-- ThinkGeo.MapSuite.Core.RasterSource --> | ||
- | [[#Public Properties|Go Back]] | ||
- | ==== IsGrayscale ==== | ||
- | This property gets and sets if the image should be converted to grayscale. | ||
- | === Return Value === | ||
- | ^ Return Type ^ | ||
- | | Boolean<!-- System.Boolean --> | | ||
- | |||
- | <!-- ThinkGeo.MapSuite.Core.RasterSource --> | ||
- | [[#Public Properties|Go Back]] | ||
- | ==== IsNegative ==== | ||
- | This property gets and sets whether the image should be converted to negative (inverse colors). | ||
- | === Return Value === | ||
- | ^ Return Type ^ | ||
- | | Boolean<!-- System.Boolean --> | | ||
- | |||
- | <!-- ThinkGeo.MapSuite.Core.RasterSource --> | ||
- | [[#Public Properties|Go Back]] | ||
- | ==== IsOpen ==== | ||
- | This property returns true if the RasterSource is open and false if it is not. | ||
- | === Remarks === | ||
- | Various methods on the RasterSource require that it be in an open state. If one of those methods is called when the state is not open, the method will throw an exception. To enter the open state, you must call the RasterSource's Open method. The method will raise an exception if the current RasterSource is already open. | ||
- | === Return Value === | ||
- | ^ Return Type ^ | ||
- | | Boolean<!-- System.Boolean --> | | ||
- | |||
- | <!-- ThinkGeo.MapSuite.Core.RasterSource --> | ||
- | [[#Public Properties|Go Back]] | ||
- | ==== IsTransparent ==== | ||
- | This property gets or sets whether the response map image's background color is transparent or not. | ||
- | === Return Value === | ||
- | ^ Return Type ^ | ||
- | | Boolean<!-- System.Boolean --> | | ||
- | |||
- | <!-- ThinkGeo.MapSuite.Core.WmsRasterSource --> | ||
- | [[#Public Properties|Go Back]] | ||
- | ==== OutputFormat ==== | ||
- | This property gets or sets the desired output format for the map being requested from the WMS. | ||
- | === Remarks === | ||
- | 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". | ||
- | === Return Value === | ||
- | ^ Return Type ^ | ||
- | | String<!-- System.String --> | | ||
- | |||
- | <!-- ThinkGeo.MapSuite.Core.WmsRasterSource --> | ||
- | [[#Public Properties|Go Back]] | ||
- | ==== Parameters ==== | ||
- | This property specifies a dictionary used to update the request sent from the client to the WMS server. | ||
- | === Return Value === | ||
- | ^ Return Type ^ | ||
- | | Dictionary<String,String><!-- System.Collections.Generic.Dictionary{System.String,System.String} --> | | ||
- | |||
- | <!-- ThinkGeo.MapSuite.Core.WmsRasterSource --> | ||
- | [[#Public Properties|Go Back]] | ||
- | ==== Projection ==== | ||
- | === Return Value === | ||
- | ^ Return Type ^ | ||
- | | [[ThinkGeo.MapSuite.Core.Projection|Projection]]<!-- ThinkGeo.MapSuite.Core.Projection --> | | ||
- | |||
- | <!-- ThinkGeo.MapSuite.Core.RasterSource --> | ||
- | [[#Public Properties|Go Back]] | ||
- | ==== Proxy ==== | ||
- | This property gets or sets the proxy used for requesting a Web Response. | ||
- | === Return Value === | ||
- | ^ Return Type ^ | ||
- | | WebProxy<!-- System.Net.WebProxy --> | | ||
- | |||
- | <!-- ThinkGeo.MapSuite.Core.WmsRasterSource --> | ||
- | [[#Public Properties|Go Back]] | ||
- | ==== RedTranslation ==== | ||
- | This property gets and sets the amount of red to apply to the image. | ||
- | === Return Value === | ||
- | ^ Return Type ^ | ||
- | | Single<!-- System.Single --> | | ||
- | |||
- | <!-- ThinkGeo.MapSuite.Core.RasterSource --> | ||
- | [[#Public Properties|Go Back]] | ||
- | ==== TimeoutInSecond ==== | ||
- | This property specifies the timeout of the web request in seconds. The default timeout value is 20 seconds. | ||
- | === Return Value === | ||
- | ^ Return Type ^ | ||
- | | Int32<!-- System.Int32 --> | | ||
- | |||
- | <!-- ThinkGeo.MapSuite.Core.WmsRasterSource --> | ||
- | [[#Public Properties|Go Back]] | ||
- | ==== Transparency ==== | ||
- | This property gets and sets the amount of transparency to apply to the image. | ||
- | === Return Value === | ||
- | ^ Return Type ^ | ||
- | | Single<!-- System.Single --> | | ||
- | |||
- | <!-- ThinkGeo.MapSuite.Core.RasterSource --> | ||
- | [[#Public Properties|Go Back]] | ||
- | ==== Uri ==== | ||
- | This property specifies the URI of the WMS server. | ||
- | === Return Value === | ||
- | ^ Return Type ^ | ||
- | | Uri<!-- System.Uri --> | | ||
- | |||
- | <!-- ThinkGeo.MapSuite.Core.WmsRasterSource --> | ||
- | [[#Public Properties|Go Back]] | ||
- | ===== Protected Properties ===== | ||
- | ==== HasProjectionTextCore ==== | ||
- | This property returns true if the RasterSource has projection text, false if not. | ||
- | === Remarks === | ||
- | This protected virtual method is called from the concrete public property HasProjectionText. The default implementation for this method returns false. So if you inherit RasterSource, please ensure that you override this virtual property to return the correct projection status of your RasterSource. | ||
- | |||
- | We will check the HasProjectionText status before you call the GetProjectionText method. It will throw an exception if the HasProjectionText property returns false. | ||
- | === Return Value === | ||
- | ^ Return Type ^ | ||
- | | Boolean<!-- System.Boolean --> | | ||
- | |||
- | <!-- ThinkGeo.MapSuite.Core.RasterSource --> | ||
- | [[#Protected Properties|Go Back]] | ||
- | ===== Public Events ===== | ||
- | ==== ClosedRasterSource ==== | ||
- | This event is called after the closing of the RasterSource. | ||
- | === Remarks === | ||
- | This event is called after the closing of the RasterSource. Technically, this event is called after the calling of the Close method on the RasterSource and after the protected CloseCore method. | ||
- | |||
- | It is typical that the RasterSource may be opened and closed may times during the life cycle of your application. The type of control the MapEngine is embedded in will dictate how often this happens. For example, in the case of the Web Edition, each time a RasterSource is in the Ajax or Post Back part of the page cycle, it will close the RasterSource before returning back to the client. This is to conserve resources, as the web is a connection-less environment. In the case of the Desktop Edition, we can keep the RasterSource open, knowing that we can maintain a persistent connection. | ||
- | === Event Arguments === | ||
- | ^ Event Arguments ^ | ||
- | | [[ThinkGeo.MapSuite.Core.ClosedRasterSourceEventArgs|ClosedRasterSourceEventArgs]]<!-- ThinkGeo.MapSuite.Core.ClosedRasterSourceEventArgs --> | | ||
- | |||
- | <!-- ThinkGeo.MapSuite.Core.RasterSource --> | ||
- | [[#Public Events|Go Back]] | ||
- | ==== ClosingRasterSource ==== | ||
- | This event is called before the closing of the RasterSource. | ||
- | === Remarks === | ||
- | This event is called before the closing of the RasterSource. Technically, this event is called after the calling of the Close method on the RasterSource, but before the protected CloseCore method. | ||
- | |||
- | It is typical that the RasterSource may be opened and closed may times during the life cycle of your application. The type of control the MapEngine is embedded in will dictate how often this happens. For example, in the case of the Web Edition, each time a RasterSource is in the Ajax or Post Back part of the page cycle, it will close the RasterSource before returning back to the client. This is to conserve resources, as the web is a connection-less environment. In the case of the Desktop Edition, we can keep the RasterSource open, knowing that we can maintain a persistent connection. | ||
- | === Event Arguments === | ||
- | ^ Event Arguments ^ | ||
- | | [[ThinkGeo.MapSuite.Core.ClosingRasterSourceEventArgs|ClosingRasterSourceEventArgs]]<!-- ThinkGeo.MapSuite.Core.ClosingRasterSourceEventArgs --> | | ||
- | |||
- | <!-- ThinkGeo.MapSuite.Core.RasterSource --> | ||
- | [[#Public Events|Go Back]] | ||
- | ==== OpenedRasterSource ==== | ||
- | This event is called after the opening of the RasterSource. | ||
- | === Remarks === | ||
- | This event is called after the opening of the RasterSource. Technically, this event is called after the calling of the Open method on the RasterSource and after the protected OpenCore method is called. | ||
- | |||
- | It is typical that the RasterSource may be opened and closed may times during the life cycle of your application. The type of control the MapEngine is embedded in will dictate how often this happens. For example, in the case of the Web Edition, each time a RasterSource is in the Ajax or Post Back part of the page cycle, it will close the RasterSource before returning back to the client. This is to conserve resources, as the web is a connection-less environment. In the case of the Desktop Edition, we can keep the RasterSource open, knowing that we can maintain a persistent connection. | ||
- | === Event Arguments === | ||
- | ^ Event Arguments ^ | ||
- | | [[ThinkGeo.MapSuite.Core.OpenedRasterSourceEventArgs|OpenedRasterSourceEventArgs]]<!-- ThinkGeo.MapSuite.Core.OpenedRasterSourceEventArgs --> | | ||
- | |||
- | <!-- ThinkGeo.MapSuite.Core.RasterSource --> | ||
- | [[#Public Events|Go Back]] | ||
- | ==== OpeningRasterSource ==== | ||
- | This event is called before the opening of the RasterSource. | ||
- | === Remarks === | ||
- | This event is called before the opening of the RasterSource. Technically, this event is called after the calling of the Open method on the RasterSource, but before the protected OpenCore method. | ||
- | |||
- | It is typical that the RasterSource may be opened and closed may times during the life cycle of your application. The type of control the MapEngine is embedded in will dictate how often this happens. For example, in the case of the Web Edition, each time a RasterSource is in the Ajax or Post Back part of the page cycle, it will close the RasterSource before returning back to the client. This is to conserve resources, as the web is a connection-less environment. In the case of the Desktop Edition, we can keep the RasterSource open, knowing that we can maintain a persistent connection. | ||
- | === Event Arguments === | ||
- | ^ Event Arguments ^ | ||
- | | [[ThinkGeo.MapSuite.Core.OpeningRasterSourceEventArgs|OpeningRasterSourceEventArgs]]<!-- ThinkGeo.MapSuite.Core.OpeningRasterSourceEventArgs --> | | ||
- | |||
- | <!-- ThinkGeo.MapSuite.Core.RasterSource --> | ||
- | [[#Public Events|Go Back]] | ||
- | ==== SendingWebRequest ==== | ||
- | This event is called before sending the reqeust for raster image. | ||
- | === Remarks === | ||
- | 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 === | ||
- | ^ Event Arguments ^ | ||
- | | [[ThinkGeo.MapSuite.Core.SendingWebRequestEventArgs|SendingWebRequestEventArgs]]<!-- ThinkGeo.MapSuite.Core.SendingWebRequestEventArgs --> | | ||
- | |||
- | <!-- ThinkGeo.MapSuite.Core.WmsRasterSource --> | ||
- | [[#Public Events|Go Back]] | ||
- | ==== SentWebRequest ==== | ||
- | This event is called after sent the request for raster image and the HttpWebResponse has come back. | ||
- | === Event Arguments === | ||
- | ^ Event Arguments ^ | ||
- | | [[ThinkGeo.MapSuite.Core.SentWebRequestEventArgs|SentWebRequestEventArgs]]<!-- ThinkGeo.MapSuite.Core.SentWebRequestEventArgs --> | | ||
- | |||
- | <!-- ThinkGeo.MapSuite.Core.WmsRasterSource --> | ||
- | [[#Public Events|Go Back]] | ||
- | |||
- | __NOTOC__ | ||
- | [[Category:MapSuiteCore]] | ||
- | [[Category:ThinkGeo.MapSuite.Core]] | ||
- | [[Category:UpdateDocumentation]] | ||
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.