![]() |
MapLink Pro 11.1.1.0.
Envitia MapLink Pro: The Ultimate Mapping Application Toolkit
|
This class represents the service information of a WMTS service. It is not user-constructable but instead should be retrieved from the TSLWMTSData Layer, once a service has been loaded, or is provided by most of the callbacks on the TSLWMTSServiceSettingsCallbacks abstract class.
Its methods allow access to the information read from the service capabilities.
Public Member Functions | |
int | numLayers () const |
TSLWMTSServiceLayer * | getLayerAt (int index) |
const TSLWMTSServiceLayer * | getLayerAt (int index) const |
const char * | title () const |
TSLWMTSServiceLayer * TSLWMTSServiceInfo::getLayerAt | ( | int | index | ) |
The Nth layer defined by the service.
index | The layer to query - the user can find the range of valid values using the numLayers function |
On success, this method will return the Nth layer. On failure, for instance due to the index being out of range, then NULL will be returned.
const TSLWMTSServiceLayer * TSLWMTSServiceInfo::getLayerAt | ( | int | index | ) | const |
The Nth layer defined by the service.
index | The layer to query - the user can find the range of valid values using the numLayers function |
On success, this method will return the Nth layer. On failure, for instance due to the index being out of range, then NULL will be returned.
int TSLWMTSServiceInfo::numLayers | ( | ) | const |
The number of layers defined by the service.
const char * TSLWMTSServiceInfo::title | ( | ) | const |
Returns the title of the WMTS, as defined in the service's metadata. If no title is defined for this service, this method returns NULL.