User Tools

Site Tools


thinkgeo.mapsuite.wmsserveredition.wmslayerplugin

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
thinkgeo.mapsuite.wmsserveredition.wmslayerplugin [2015/08/20 03:08]
127.0.0.1 external edit
— (current)
Line 1: Line 1:
-====== ThinkGeo.MapSuite.WmsServerEdition.WmsLayerPlugin ====== 
- 
- 
- 
-<!-- Class --> 
-This class is the base class for all types of WMS Plug-ins. The WmsLayerPlugin class is where all other types of WMS Plug-ins are inherited from. It provides the base set of functionality. As it is abstract, there are a number of methods you need to implement. The first one is GetMapConfigurationCore. In this method, you are responsible for generating a MapConfiguration which includes layers collection and TileCache object you will use. The other two required methods are GetProjectionCore and GetBoundingBoxCore. These get projection string and the BoundingBox for your WMS Plug-in. Another required method is GetNameCore which returns the layer name which will used in the GetMap WMS operation. 
-===== Inheritance Hierarchy ===== 
-*System.Object 
-**[[ThinkGeo.MapSuite.WmsServerEdition.WmsLayerPlugin]] 
-===== Members Summary ===== 
-==== Public Constructors ==== 
-^ Name ^ Parameters ^ DeclaringType ^ Summary ^ 
- 
-==== Protected Constructors ==== 
-^ Name ^ Parameters ^ DeclaringType ^ Summary ^ 
-| {{wiki:​ProtectedMethod.gif|Protected Method}}[[#​WmsLayerPlugin()|WmsLayerPlugin]] ​  ​| ​   |    | This is the default constructor for the WmsLayerPlugin class. ​  | 
- 
-==== Public Methods ==== 
-^ Name ^ Parameters ^ DeclaringType ^ Summary ^ 
-| {{wiki:​PublicMethod.gif|Public Method}}[[#​Equals(Object)|Equals]] ​  | Object ​  | Object ​  ​| ​   | 
-| {{wiki:​PublicMethod.gif|Public Method}}[[#​GetBoundingBox(String)|GetBoundingBox]] ​  | String ​  ​| ​   | This method returns the bounding box of the Layer. ​  | 
-| {{wiki:​PublicMethod.gif|Public Method}}[[#​GetCapabilities()|GetCapabilities]] ​  ​| ​   |    | This method gets the general information about the plug-in itself. ​  | 
-| {{wiki:​PublicMethod.gif|Public Method}}[[#​GetFeatureInfo(GetFeatureInfoRequest,​ MapConfiguration,​ HttpContext)|GetFeatureInfo]] ​  | [[ThinkGeo.MapSuite.WmsServerEdition.GetFeatureInfoRequest|GetFeatureInfoRequest]],​ [[ThinkGeo.MapSuite.WmsServerEdition.MapConfiguration|MapConfiguration]],​ HttpContext ​  ​| ​   | This method implements the WMS GetFeatureInfo operation and returns feature information depending on the request from client. ​  | 
-| {{wiki:​PublicMethod.gif|Public Method}}[[#​GetGeographyUnit(String)|GetGeographyUnit]] ​  | String ​  ​| ​   | This method returns the exact map unit (dependent on the crs) in order to support multiple projections. ​  | 
-| {{wiki:​PublicMethod.gif|Public Method}}[[#​GetHashCode()|GetHashCode]] ​  ​| ​   | Object ​  ​| ​   | 
-| {{wiki:​PublicMethod.gif|Public Method}}[[#​GetMap(GetMapRequest,​ MapConfiguration,​ HttpContext)|GetMap]] ​  | [[ThinkGeo.MapSuite.WmsServerEdition.GetMapRequest|GetMapRequest]],​ [[ThinkGeo.MapSuite.WmsServerEdition.MapConfiguration|MapConfiguration]],​ HttpContext ​  ​| ​   | Produce a map, which is defined as either a pictorial image or a set of graphical elements. ​  | 
-| {{wiki:​PublicMethod.gif|Public Method}}[[#​GetMapConfiguration(String,​ String)|GetMapConfiguration]] ​  | String, String ​  ​| ​   | This method returns the MapConfiguration object which includes TileCache and Layers collection backed by a group of layers depend on the style, projection. This method is only called once per style and crs. In it you should create your layers and add them to the MapConfiguration. If you want to use tile caching you can also specify that in the MapConfiguration under the TileCache property. If you have setup multiple styles or projections this method will get called for each unique combination ​  | 
-| {{wiki:​PublicMethod.gif|Public Method}}[[#​GetName()|GetName]] ​  ​| ​   |    | This method returns a single word used for machine-to-machine communication. ​  | 
-| {{wiki:​PublicMethod.gif|Public Method}}[[#​GetProjections()|GetProjections]] ​  ​| ​   |    | This method returns the projection string collection that are supported. ​  | 
-| {{wiki:​PublicMethod.gif|Public Method}}[[#​GetStyles()|GetStyles]] ​  ​| ​   |    | This method you need to return the styels that are supported. ​  | 
-| {{wiki:​PublicMethod.gif|Public Method}}[[#​GetTitle()|GetTitle]] ​  ​| ​   |    | This method returns the human-readable name of the WmsLayerPlugin. ​  | 
-| {{wiki:​PublicMethod.gif|Public Method}}[[#​GetType()|GetType]] ​  ​| ​   | Object ​  ​| ​   | 
-| {{wiki:​PublicMethod.gif|Public Method}}[[#​ToString()|ToString]] ​  ​| ​   | Object ​  ​| ​   | 
- 
-==== Protected Methods ==== 
-^ Name ^ Parameters ^ DeclaringType ^ Summary ^ 
-| {{wiki:​ProtectedMethod.gif|Protected Method}}[[#​Finalize()|Finalize]] ​  ​| ​   | Object ​  ​| ​   | 
-| {{wiki:​ProtectedMethod.gif|Protected Method}}[[#​GetBoundingBoxCore(String)|GetBoundingBoxCore]] ​  | String ​  ​| ​   | This method returns the bounding box of the Layer. ​  | 
-| {{wiki:​ProtectedMethod.gif|Protected Method}}[[#​GetCapabilitiesCore()|GetCapabilitiesCore]] ​  ​| ​   |    | This method gets the general information about the plug-in itself. ​  | 
-| {{wiki:​ProtectedMethod.gif|Protected Method}}[[#​GetFeatureInfoCore(GetFeatureInfoRequest,​ MapConfiguration,​ HttpContext)|GetFeatureInfoCore]] ​  | [[ThinkGeo.MapSuite.WmsServerEdition.GetFeatureInfoRequest|GetFeatureInfoRequest]],​ [[ThinkGeo.MapSuite.WmsServerEdition.MapConfiguration|MapConfiguration]],​ HttpContext ​  ​| ​   | This method implements the WMS GetFeatureInfo operation and returns feature information depending on the request from client. ​  | 
-| {{wiki:​ProtectedMethod.gif|Protected Method}}[[#​GetGeographyUnitCore(String)|GetGeographyUnitCore]] ​  | String ​  ​| ​   | This method returns the exact map unit (dependent on the crs) in order to support multiple projections. ​  | 
-| {{wiki:​ProtectedMethod.gif|Protected Method}}[[#​GetMapConfigurationCore(String,​ String)|GetMapConfigurationCore]] ​  | String, String ​  ​| ​   | This method returns the MapConfiguration object which includes TileCache and Layers collection backed by a group of layers depend on the style, projection. This method is only called once per style and crs. In it you should create your layers and add them to the MapConfiguration. If you want to use tile caching you can also specify that in the MapConfiguration under the TileCache property. If you have setup multiple styles or projections this method will get called for each unique combination ​  | 
-| {{wiki:​ProtectedMethod.gif|Protected Method}}[[#​GetMapCore(GetMapRequest,​ MapConfiguration,​ HttpContext)|GetMapCore]] ​  | [[ThinkGeo.MapSuite.WmsServerEdition.GetMapRequest|GetMapRequest]],​ [[ThinkGeo.MapSuite.WmsServerEdition.MapConfiguration|MapConfiguration]],​ HttpContext ​  ​| ​   | Produce a map, which is defined as either a pictorial image or a set of graphical elements. ​  | 
-| {{wiki:​ProtectedMethod.gif|Protected Method}}[[#​GetNameCore()|GetNameCore]] ​  ​| ​   |    | This method returns a single word used for machine-to-machine communication. ​  | 
-| {{wiki:​ProtectedMethod.gif|Protected Method}}[[#​GetProjectionsCore()|GetProjectionsCore]] ​  ​| ​   |    | This method returns the projection string collection that are supported. ​  | 
-| {{wiki:​ProtectedMethod.gif|Protected Method}}[[#​GetStylesCore()|GetStylesCore]] ​  ​| ​   |    | This method you need to return the styels that are supported. ​  | 
-| {{wiki:​ProtectedMethod.gif|Protected Method}}[[#​GetTitleCore()|GetTitleCore]] ​  ​| ​   |    | This method returns the human-readable name of the WmsLayerPlugin. ​  | 
-| {{wiki:​ProtectedMethod.gif|Protected Method}}[[#​MemberwiseClone()|MemberwiseClone]] ​  ​| ​   | Object ​  ​| ​   | 
- 
-==== Public Properties ==== 
-^ Name ^ Return ^ DeclaringType ^ Summary ^ 
-| {{wiki:​PublicProperty.gif|Public Property}}[[#​BrowerCacheExpiration|BrowerCacheExpiration]] ​  | TimeSpan ​  ​| ​   | Represents the number of hours before the browser cache expires. ​  | 
-| {{wiki:​PublicProperty.gif|Public Property}}[[#​JpegQuality|JpegQuality]] ​  | Int16   ​| ​   | Gets or sets the Jpeg quality , this property only take effects when setting the ImageFormat to Jpeg.   | 
-| {{wiki:​PublicProperty.gif|Public Property}}[[#​WmsQueryMode|WmsQueryMode]] ​  | [[ThinkGeo.MapSuite.WmsServerEdition.WmsQueryMode|WmsQueryMode]] ​  ​| ​   | This enumeration specifies whether a WmsLayerPlugin support GetFeatureInfo WMS operation or not. If it doesn'​t support GetFeatureInfo operation, and it will throw an Service Exception XML.   | 
- 
-==== Protected Properties ==== 
-^ Name ^ Return ^ DeclaringType ^ Summary ^ 
- 
-==== Public Events ==== 
-^ Name ^ Event Arguments ^ DeclaringType ^ Summary ^ 
- 
-===== Public Constructors ===== 
-===== Protected Constructors ===== 
-==== WmsLayerPlugin() ==== 
-This is the default constructor for the WmsLayerPlugin class. 
-=== Remarks === 
-This is the default constructor for the WmsLayerPlugin class. 
-=== Parameters === 
-^  Name ^  Type ^  Description ^ 
- 
-[[#​Protected Constructors|Go Back]] 
-===== Public Methods ===== 
-==== Equals(Object) ==== 
-=== Return Value === 
-^ Return Type ^ Description ^ 
-| Boolean<​!-- System.Boolean --> ​  ​| ​   | 
- 
-=== Parameters === 
-^  Name ^  Type ^  Description ^ 
-| obj   | Object<​!-- System.Object --> ​  ​| ​   | 
- 
-<!-- System.Object --> 
-[[#Public Methods|Go Back]] 
-==== GetBoundingBox(String) ==== 
-This method returns the bounding box of the Layer. 
-=== Remarks === 
-This method returns the bounding box of the Layer. 
-=== Return Value === 
-^ Return Type ^ Description ^ 
-| [[ThinkGeo.MapSuite.Core.RectangleShape|RectangleShape]]<​!-- ThinkGeo.MapSuite.Core.RectangleShape --> ​  | This method returns the bounding box of the Layer. ​  | 
- 
-=== Parameters === 
-^  Name ^  Type ^  Description ^ 
-| crs   | String<​!-- System.String --> ​  | User gets the exact bounding box depend on crs in order to support multiple projections. ​  | 
- 
-<!-- ThinkGeo.MapSuite.WmsServerEdition.WmsLayerPlugin --> 
-[[#Public Methods|Go Back]] 
-==== GetCapabilities() ==== 
-This method gets the general information about the plug-in itself. 
-=== Return Value === 
-^ Return Type ^ Description ^ 
-| String<​!-- System.String --> ​  | This method gets the general information about the plug-in itself. ​  | 
- 
-=== Parameters === 
-^  Name ^  Type ^  Description ^ 
- 
-<!-- ThinkGeo.MapSuite.WmsServerEdition.WmsLayerPlugin --> 
-[[#Public Methods|Go Back]] 
-==== GetFeatureInfo(GetFeatureInfoRequest,​ MapConfiguration,​ HttpContext) ==== 
-This method implements the WMS GetFeatureInfo operation and returns feature information depending on the request from client. 
-=== Remarks === 
-This abstract method is called from the concrete public method GetFeatureInfo. The canonical use case for GetFeatureInfo is that a user sees the response of a GetMap request and chooses a point on that map for which to obtain more information. The basic operation provides the ability for a client to specify which pixel is being asked about, which layer(s) should be investigated,​ and what format the information should be returned in. 
-=== Return Value === 
-^ Return Type ^ Description ^ 
-| String<​!-- System.String --> ​  | This method returns feature information depending on the request from the client. ​  | 
- 
-=== Parameters === 
-^  Name ^  Type ^  Description ^ 
-| getFeatureInfoRequest ​  | [[ThinkGeo.MapSuite.WmsServerEdition.GetFeatureInfoRequest|GetFeatureInfoRequest]]<​!-- ThinkGeo.MapSuite.WmsServerEdition.GetFeatureInfoRequest --> ​  | The RequestInfo object corresponding to the QueryString from the client'​s request. ​  | 
-| cachedMapConfiguration ​  | [[ThinkGeo.MapSuite.WmsServerEdition.MapConfiguration|MapConfiguration]]<​!-- ThinkGeo.MapSuite.WmsServerEdition.MapConfiguration --> ​  | MapConfiguration object from HttpContext.Application. ​  | 
-| context ​  | HttpContext<​!-- System.Web.HttpContext --> ​  | A System.Web.HttpContext object that provides references to the intrinsic server objects (for example: Request, Response, Session, and Server) used to service HTTP requests. ​  | 
- 
-<!-- ThinkGeo.MapSuite.WmsServerEdition.WmsLayerPlugin --> 
-[[#Public Methods|Go Back]] 
-==== GetGeographyUnit(String) ==== 
-This method returns the exact map unit (dependent on the crs) in order to support multiple projections. 
-=== Remarks === 
-This method returns the exact map unit (dependent on the crs) in order to support multiple projections. 
-=== Return Value === 
-^ Return Type ^ Description ^ 
-| [[ThinkGeo.MapSuite.Core.GeographyUnit|GeographyUnit]]<​!-- ThinkGeo.MapSuite.Core.GeographyUnit --> ​  | This method returns the exact map unit (dependent on the crs) in order to support multiple projections. ​  | 
- 
-=== Parameters === 
-^  Name ^  Type ^  Description ^ 
-| crs   | String<​!-- System.String --> ​  | The user gets the exact map unit (dependent on the crs) in order to support multiple projections. ​  | 
- 
-<!-- ThinkGeo.MapSuite.WmsServerEdition.WmsLayerPlugin --> 
-[[#Public Methods|Go Back]] 
-==== GetHashCode() ==== 
-=== Return Value === 
-^ Return Type ^ Description ^ 
-| Int32<​!-- System.Int32 --> ​  ​| ​   | 
- 
-=== Parameters === 
-^  Name ^  Type ^  Description ^ 
- 
-<!-- System.Object --> 
-[[#Public Methods|Go Back]] 
-==== GetMap(GetMapRequest,​ MapConfiguration,​ HttpContext) ==== 
-Produce a map, which is defined as either a pictorial image or a set of graphical elements. 
-=== Return Value === 
-^ Return Type ^ Description ^ 
-| Bitmap<​!-- System.Drawing.Bitmap --> ​  ​| ​   | 
- 
-=== Parameters === 
-^  Name ^  Type ^  Description ^ 
-| getMapRequest ​  | [[ThinkGeo.MapSuite.WmsServerEdition.GetMapRequest|GetMapRequest]]<​!-- ThinkGeo.MapSuite.WmsServerEdition.GetMapRequest --> ​  | The RequestInfo object corresponding to the QueryString from the client'​s request. ​  | 
-| cachedMapConfiguration ​  | [[ThinkGeo.MapSuite.WmsServerEdition.MapConfiguration|MapConfiguration]]<​!-- ThinkGeo.MapSuite.WmsServerEdition.MapConfiguration --> ​  | MapConfiguration object from HttpContext.Application. ​  | 
-| context ​  | HttpContext<​!-- System.Web.HttpContext --> ​  | A System.Web.HttpContext object that provides references to the intrinsic server objects (for example: Request, Response, Session, and Server) used to service HTTP requests. ​  | 
- 
-<!-- ThinkGeo.MapSuite.WmsServerEdition.WmsLayerPlugin --> 
-[[#Public Methods|Go Back]] 
-==== GetMapConfiguration(String,​ String) ==== 
-This method returns the MapConfiguration object which includes TileCache and Layers collection backed by a group of layers depend on the style, projection. This method is only called once per style and crs. In it you should create your layers and add them to the MapConfiguration. If you want to use tile caching you can also specify that in the MapConfiguration under the TileCache property. If you have setup multiple styles or projections this method will get called for each unique combination 
-=== Return Value === 
-^ Return Type ^ Description ^ 
-| [[ThinkGeo.MapSuite.WmsServerEdition.MapConfiguration|MapConfiguration]]<​!-- ThinkGeo.MapSuite.WmsServerEdition.MapConfiguration --> ​  | Return the MapConfiguration object which represents a layer backed by a group of layers depend on the style. ​  | 
- 
-=== Parameters === 
-^  Name ^  Type ^  Description ^ 
-| style   | String<​!-- System.String --> ​  | The style parameter string. ​  | 
-| crs   | String<​!-- System.String --> ​  | The projectin parameter string. ​  | 
- 
-<!-- ThinkGeo.MapSuite.WmsServerEdition.WmsLayerPlugin --> 
-[[#Public Methods|Go Back]] 
-==== GetName() ==== 
-This method returns a single word used for machine-to-machine communication. 
-=== Remarks === 
-This method is the concrete wrapper for the abstract method GetNameCore. It returns returns a single word used for machine-to-machine communication. 
-=== Return Value === 
-^ Return Type ^ Description ^ 
-| String<​!-- System.String --> ​  | This method returns a single word used for machine-to-machine communication. ​  | 
- 
-=== Parameters === 
-^  Name ^  Type ^  Description ^ 
- 
-<!-- ThinkGeo.MapSuite.WmsServerEdition.WmsLayerPlugin --> 
-[[#Public Methods|Go Back]] 
-==== GetProjections() ==== 
-This method returns the projection string collection that are supported. 
-=== Remarks === 
-This method returns the projection string collection that are supported. 
-=== Return Value === 
-^ Return Type ^ Description ^ 
-| Collection<​String><​!-- System.Collections.ObjectModel.Collection{System.String} --> ​  | This method returns the projection string collection that are supported. ​  | 
- 
-=== Parameters === 
-^  Name ^  Type ^  Description ^ 
- 
-<!-- ThinkGeo.MapSuite.WmsServerEdition.WmsLayerPlugin --> 
-[[#Public Methods|Go Back]] 
-==== GetStyles() ==== 
-This method you need to return the styels that are supported. 
-=== Return Value === 
-^ Return Type ^ Description ^ 
-| Collection<​[[ThinkGeo.MapSuite.WmsServerEdition.WmsLayerStyle|WmsLayerStyle]]><​!-- System.Collections.ObjectModel.Collection{ThinkGeo.MapSuite.WmsServerEdition.WmsLayerStyle} --> ​  | This method you need to return the styels that are supported. ​  | 
- 
-=== Parameters === 
-^  Name ^  Type ^  Description ^ 
- 
-<!-- ThinkGeo.MapSuite.WmsServerEdition.WmsLayerPlugin --> 
-[[#Public Methods|Go Back]] 
-==== GetTitle() ==== 
-This method returns the human-readable name of the WmsLayerPlugin. 
-=== Remarks === 
-This method is the concrete wrapper for the virtual method GetTitleCore. It returns the human-readable name of the WmsLayerPlugin. 
-=== Return Value === 
-^ Return Type ^ Description ^ 
-| String<​!-- System.String --> ​  | This method returns the human-readable name of the WmsLayerPlugin. ​  | 
- 
-=== Parameters === 
-^  Name ^  Type ^  Description ^ 
- 
-<!-- ThinkGeo.MapSuite.WmsServerEdition.WmsLayerPlugin --> 
-[[#Public Methods|Go Back]] 
-==== GetType() ==== 
-=== Return Value === 
-^ Return Type ^ Description ^ 
-| Type<!-- System.Type --> ​  ​| ​   | 
- 
-=== Parameters === 
-^  Name ^  Type ^  Description ^ 
- 
-<!-- System.Object --> 
-[[#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 ===== 
-==== Finalize() ==== 
-=== Return Value === 
-^ Return Type ^ Description ^ 
-| Void<!-- System.Void --> ​  ​| ​   | 
- 
-=== Parameters === 
-^  Name ^  Type ^  Description ^ 
- 
-<!-- System.Object --> 
-[[#​Protected Methods|Go Back]] 
-==== GetBoundingBoxCore(String) ==== 
-This method returns the bounding box of the Layer. 
-=== Remarks === 
-This method returns the bounding box of the Layer. 
-=== Return Value === 
-^ Return Type ^ Description ^ 
-| [[ThinkGeo.MapSuite.Core.RectangleShape|RectangleShape]]<​!-- ThinkGeo.MapSuite.Core.RectangleShape --> ​  | This method returns the bounding box of the Layer. ​  | 
- 
-=== Parameters === 
-^  Name ^  Type ^  Description ^ 
-| crs   | String<​!-- System.String --> ​  | User gets the exact bounding box depend on crs in order to support multiple projections. ​  | 
- 
-<!-- ThinkGeo.MapSuite.WmsServerEdition.WmsLayerPlugin --> 
-[[#​Protected Methods|Go Back]] 
-==== GetCapabilitiesCore() ==== 
-This method gets the general information about the plug-in itself. 
-=== Return Value === 
-^ Return Type ^ Description ^ 
-| String<​!-- System.String --> ​  | This method gets the general information about the plug-in itself. ​  | 
- 
-=== Parameters === 
-^  Name ^  Type ^  Description ^ 
- 
-<!-- ThinkGeo.MapSuite.WmsServerEdition.WmsLayerPlugin --> 
-[[#​Protected Methods|Go Back]] 
-==== GetFeatureInfoCore(GetFeatureInfoRequest,​ MapConfiguration,​ HttpContext) ==== 
-This method implements the WMS GetFeatureInfo operation and returns feature information depending on the request from client. 
-=== Remarks === 
-This abstract method is called from the concrete public method GetFeatureInfo. The canonical use case for GetFeatureInfo is that a user sees the response of a GetMap request and chooses a point on that map for which to obtain more information. The basic operation provides the ability for a client to specify which pixel is being asked about, which layer(s) should be investigated,​ and what format the information should be returned in. 
-=== Return Value === 
-^ Return Type ^ Description ^ 
-| String<​!-- System.String --> ​  | This method returns feature information depending on the request from the client. ​  | 
- 
-=== Parameters === 
-^  Name ^  Type ^  Description ^ 
-| getFeatureInfoRequest ​  | [[ThinkGeo.MapSuite.WmsServerEdition.GetFeatureInfoRequest|GetFeatureInfoRequest]]<​!-- ThinkGeo.MapSuite.WmsServerEdition.GetFeatureInfoRequest --> ​  | The RequestInfo object corresponding to the QueryString from the client'​s request. ​  | 
-| cachedMapConfiguration ​  | [[ThinkGeo.MapSuite.WmsServerEdition.MapConfiguration|MapConfiguration]]<​!-- ThinkGeo.MapSuite.WmsServerEdition.MapConfiguration --> ​  | MapConfiguration object from HttpContext.Application. ​  | 
-| context ​  | HttpContext<​!-- System.Web.HttpContext --> ​  | A System.Web.HttpContext object that provides references to the intrinsic server objects (for example: Request, Response, Session, and Server) used to service HTTP requests. ​  | 
- 
-<!-- ThinkGeo.MapSuite.WmsServerEdition.WmsLayerPlugin --> 
-[[#​Protected Methods|Go Back]] 
-==== GetGeographyUnitCore(String) ==== 
-This method returns the exact map unit (dependent on the crs) in order to support multiple projections. 
-=== Remarks === 
-This method returns the exact map unit (dependent on the crs) in order to support multiple projections. 
-=== Return Value === 
-^ Return Type ^ Description ^ 
-| [[ThinkGeo.MapSuite.Core.GeographyUnit|GeographyUnit]]<​!-- ThinkGeo.MapSuite.Core.GeographyUnit --> ​  | This method returns the exact map unit (dependent on the crs) in order to support multiple projections. ​  | 
- 
-=== Parameters === 
-^  Name ^  Type ^  Description ^ 
-| crs   | String<​!-- System.String --> ​  | The user gets the exact map unit (dependent on the crs) in order to support multiple projections. ​  | 
- 
-<!-- ThinkGeo.MapSuite.WmsServerEdition.WmsLayerPlugin --> 
-[[#​Protected Methods|Go Back]] 
-==== GetMapConfigurationCore(String,​ String) ==== 
-This method returns the MapConfiguration object which includes TileCache and Layers collection backed by a group of layers depend on the style, projection. This method is only called once per style and crs. In it you should create your layers and add them to the MapConfiguration. If you want to use tile caching you can also specify that in the MapConfiguration under the TileCache property. If you have setup multiple styles or projections this method will get called for each unique combination 
-=== Return Value === 
-^ Return Type ^ Description ^ 
-| [[ThinkGeo.MapSuite.WmsServerEdition.MapConfiguration|MapConfiguration]]<​!-- ThinkGeo.MapSuite.WmsServerEdition.MapConfiguration --> ​  | Return the MapConfiguration object which represents a layer backed by a group of layers depend on the style. ​  | 
- 
-=== Parameters === 
-^  Name ^  Type ^  Description ^ 
-| style   | String<​!-- System.String --> ​  | The style parameter string. ​  | 
-| crs   | String<​!-- System.String --> ​  | The projectin parameter string. ​  | 
- 
-<!-- ThinkGeo.MapSuite.WmsServerEdition.WmsLayerPlugin --> 
-[[#​Protected Methods|Go Back]] 
-==== GetMapCore(GetMapRequest,​ MapConfiguration,​ HttpContext) ==== 
-Produce a map, which is defined as either a pictorial image or a set of graphical elements. 
-=== Return Value === 
-^ Return Type ^ Description ^ 
-| Bitmap<​!-- System.Drawing.Bitmap --> ​  ​| ​   | 
- 
-=== Parameters === 
-^  Name ^  Type ^  Description ^ 
-| getMapRequest ​  | [[ThinkGeo.MapSuite.WmsServerEdition.GetMapRequest|GetMapRequest]]<​!-- ThinkGeo.MapSuite.WmsServerEdition.GetMapRequest --> ​  | The RequestInfo object corresponding to the QueryString from the client'​s request. ​  | 
-| cachedMapConfiguration ​  | [[ThinkGeo.MapSuite.WmsServerEdition.MapConfiguration|MapConfiguration]]<​!-- ThinkGeo.MapSuite.WmsServerEdition.MapConfiguration --> ​  | MapConfiguration object from HttpContext.Application. ​  | 
-| context ​  | HttpContext<​!-- System.Web.HttpContext --> ​  | A System.Web.HttpContext object that provides references to the intrinsic server objects (for example: Request, Response, Session, and Server) used to service HTTP requests. ​  | 
- 
-<!-- ThinkGeo.MapSuite.WmsServerEdition.WmsLayerPlugin --> 
-[[#​Protected Methods|Go Back]] 
-==== GetNameCore() ==== 
-This method returns a single word used for machine-to-machine communication. 
-=== Remarks === 
-This method is called from the concrete public method GetName. It returns a single word used for machine-to-machine communication. 
-=== Return Value === 
-^ Return Type ^ Description ^ 
-| String<​!-- System.String --> ​  | This method returns a single word used for machine-to-machine communication. ​  | 
- 
-=== Parameters === 
-^  Name ^  Type ^  Description ^ 
- 
-<!-- ThinkGeo.MapSuite.WmsServerEdition.WmsLayerPlugin --> 
-[[#​Protected Methods|Go Back]] 
-==== GetProjectionsCore() ==== 
-This method returns the projection string collection that are supported. 
-=== Remarks === 
-This method returns the projection string collection that are supported. 
-=== Return Value === 
-^ Return Type ^ Description ^ 
-| Collection<​String><​!-- System.Collections.ObjectModel.Collection{System.String} --> ​  | This method returns the projection string collection that are supported. ​  | 
- 
-=== Parameters === 
-^  Name ^  Type ^  Description ^ 
- 
-<!-- ThinkGeo.MapSuite.WmsServerEdition.WmsLayerPlugin --> 
-[[#​Protected Methods|Go Back]] 
-==== GetStylesCore() ==== 
-This method you need to return the styels that are supported. 
-=== Return Value === 
-^ Return Type ^ Description ^ 
-| Collection<​[[ThinkGeo.MapSuite.WmsServerEdition.WmsLayerStyle|WmsLayerStyle]]><​!-- System.Collections.ObjectModel.Collection{ThinkGeo.MapSuite.WmsServerEdition.WmsLayerStyle} --> ​  | This method you need to return the styels that are supported. ​  | 
- 
-=== Parameters === 
-^  Name ^  Type ^  Description ^ 
- 
-<!-- ThinkGeo.MapSuite.WmsServerEdition.WmsLayerPlugin --> 
-[[#​Protected Methods|Go Back]] 
-==== GetTitleCore() ==== 
-This method returns the human-readable name of the WmsLayerPlugin. 
-=== Remarks === 
-This method is called from the concrete public method GetTitle. This method returns the human-readable name of the WmsLayerPlugin. 
-=== Return Value === 
-^ Return Type ^ Description ^ 
-| String<​!-- System.String --> ​  | This method returns the human-readable name of the WmsLayerPlugin. ​  | 
- 
-=== Parameters === 
-^  Name ^  Type ^  Description ^ 
- 
-<!-- ThinkGeo.MapSuite.WmsServerEdition.WmsLayerPlugin --> 
-[[#​Protected Methods|Go Back]] 
-==== MemberwiseClone() ==== 
-=== Return Value === 
-^ Return Type ^ Description ^ 
-| Object<​!-- System.Object --> ​  ​| ​   | 
- 
-=== Parameters === 
-^  Name ^  Type ^  Description ^ 
- 
-<!-- System.Object --> 
-[[#​Protected Methods|Go Back]] 
-===== Public Properties ===== 
-==== BrowerCacheExpiration ==== 
-Represents the number of hours before the browser cache expires. 
-=== Return Value === 
-^ Return Type ^ 
-| TimeSpan<​!-- System.TimeSpan --> ​  | 
- 
-<!-- ThinkGeo.MapSuite.WmsServerEdition.WmsLayerPlugin --> 
-[[#Public Properties|Go Back]] 
-==== JpegQuality ==== 
-Gets or sets the Jpeg quality , this property only take effects when setting the ImageFormat to Jpeg. 
-=== Return Value === 
-^ Return Type ^ 
-| Int16<​!-- System.Int16 --> ​  | 
- 
-<!-- ThinkGeo.MapSuite.WmsServerEdition.WmsLayerPlugin --> 
-[[#Public Properties|Go Back]] 
-==== WmsQueryMode ==== 
-This enumeration specifies whether a WmsLayerPlugin support GetFeatureInfo WMS operation or not. If it doesn'​t support GetFeatureInfo operation, and it will throw an Service Exception XML. 
-=== Return Value === 
-^ Return Type ^ 
-| [[ThinkGeo.MapSuite.WmsServerEdition.WmsQueryMode|WmsQueryMode]]<​!-- ThinkGeo.MapSuite.WmsServerEdition.WmsQueryMode --> ​  | 
- 
-<!-- ThinkGeo.MapSuite.WmsServerEdition.WmsLayerPlugin --> 
-[[#Public Properties|Go Back]] 
-===== Protected Properties ===== 
-===== Public Events ===== 
-__NOTOC__ 
-[[Category:​WmsServerEdition]] 
-[[Category:​ThinkGeo.MapSuite.WmsServerEdition]] 
-[[Category:​UpdateDocumentation]] 
  
thinkgeo.mapsuite.wmsserveredition.wmslayerplugin.1440040136.txt.gz ยท Last modified: 2015/09/22 08:50 (external edit)