MapLink Pro 11.1.1.0.
Envitia MapLink Pro: The Ultimate Mapping Application Toolkit
Loading...
Searching...
No Matches
TSLWMTSServiceInfo Class Reference

Detailed Description

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
 
TSLWMTSServiceLayergetLayerAt (int index)
 
const TSLWMTSServiceLayergetLayerAt (int index) const
 
const char * title () const
 

Member Function Documentation

◆ getLayerAt() [1/2]

TSLWMTSServiceLayer * TSLWMTSServiceInfo::getLayerAt ( int index)

The Nth layer defined by the service.

Parameters
indexThe 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.

◆ getLayerAt() [2/2]

const TSLWMTSServiceLayer * TSLWMTSServiceInfo::getLayerAt ( int index) const

The Nth layer defined by the service.

Parameters
indexThe 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.

◆ numLayers()

int TSLWMTSServiceInfo::numLayers ( ) const

The number of layers defined by the service.

◆ title()

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.