![]() |
MapLink Pro 11.1.1.0.
Envitia MapLink Pro: The Ultimate Mapping Application Toolkit
|
Base class for all GetMap response objects.
Public Member Functions | |
TSLWMSResponseCacheability | cacheability () const |
void | cacheability (TSLWMSResponseCacheability value) |
TSLDrawingSurface * | getDrawingSurface () |
void | releaseDrawingSurface () |
Protected Member Functions | |
TSLWMSGetMapResponse () | |
~TSLWMSGetMapResponse () | |
|
protected |
|
protected |
TSLWMSResponseCacheability TSLWMSGetMapResponse::cacheability | ( | ) | const |
Queries the cacheability of the response. This may have been set by a previous WMS plugin that also drew to the response. Plugins should merge their cachability with the existing status of this flag.
void TSLWMSGetMapResponse::cacheability | ( | TSLWMSResponseCacheability | value | ) |
Sets the cacheability of the response. This may have been set by a previous WMS plugin that also drew to the response. Plugins should merge their cachability with the existing status of this flag.
value | The new value to set this flag to. |
TSLDrawingSurface * TSLWMSGetMapResponse::getDrawingSurface | ( | ) |
Returns a Drawing Surface that can be used with the associated Response.
On return from the response the drawing surface should have had all the added layers removed.
This method may return NULL. If it does you will need to create a Drawing Surface within the plugin and handle the threading locally.
void TSLWMSGetMapResponse::releaseDrawingSurface | ( | ) |
Releases the drawing surface, obtained using the getDrawingSurface method, back to the pool of available surfaces. This will take place automatically once the getMap method returns, but it can improve performance to return it early if suitable.