NDEVR
API Documentation
WebMercatorTileServiceabstract

A wrapper for logic that uses a web engine to provide an Image Tile service. More...

Inheritance diagram for WebMercatorTileService:
[legend]

Public Member Functions

 WebMercatorTileService ()=default
 Default constructor.
 WebMercatorTileService (const WebMercatorTileService &other)=default
 Copy constructor.
 WebMercatorTileService (WebMercatorTileService &&other)=default
 Move constructor.
virtual ~WebMercatorTileService ()=default
 Virtual destructor.
virtual Buffer< WebMercatorTile::DPIgetSupportedDPIs () const =0
 Returns the list of DPI settings supported by this service.
virtual Buffer< WebMercatorTile::ResolutiongetSupportedResolutions () const =0
 Returns the list of tile resolutions supported by this service.
virtual String getUrl (WebMercatorTile tile, const MercatorImageRequest &request) const =0
 Builds the URL used to fetch the specified tile image.
virtual UUID getUUID (WebMercatorTile tile, const MercatorImageRequest &request) const =0
 Generates a unique identifier for the given tile and request combination.
WebMercatorTileServiceoperator= (const WebMercatorTileService &other)=default
 Copy assignment operator.
WebMercatorTileServiceoperator= (WebMercatorTileService &&other)=default
 Move assignment operator.

Detailed Description

A wrapper for logic that uses a web engine to provide an Image Tile service.


Definition at line 150 of file MercatorImageManager.h.

Member Function Documentation

◆ getSupportedDPIs()

virtual Buffer< WebMercatorTile::DPI > WebMercatorTileService::getSupportedDPIs ( ) const
pure virtual

Returns the list of DPI settings supported by this service.

Returns
A Buffer of supported DPI values.

Implemented in GoogleWebMercatorTileService, and OpenStreetMapWebMercatorTileService.

◆ getSupportedResolutions()

virtual Buffer< WebMercatorTile::Resolution > WebMercatorTileService::getSupportedResolutions ( ) const
pure virtual

Returns the list of tile resolutions supported by this service.

Returns
A Buffer of supported Resolution values.

Implemented in GoogleWebMercatorTileService, and OpenStreetMapWebMercatorTileService.

◆ getUrl()

virtual String WebMercatorTileService::getUrl ( WebMercatorTile tile,
const MercatorImageRequest & request ) const
pure virtual

Builds the URL used to fetch the specified tile image.

Parameters
[in]tileThe tile descriptor.
[in]requestThe image request containing theme and display options.
Returns
The URL string for downloading the tile image.

Implemented in GoogleWebMercatorTileService, and OpenStreetMapWebMercatorTileService.

◆ getUUID()

virtual UUID WebMercatorTileService::getUUID ( WebMercatorTile tile,
const MercatorImageRequest & request ) const
pure virtual

Generates a unique identifier for the given tile and request combination.

Parameters
[in]tileThe tile descriptor.
[in]requestThe image request.
Returns
A UUID uniquely identifying this tile/request pair.

Implemented in GoogleWebMercatorTileService, and OpenStreetMapWebMercatorTileService.


The documentation for this class was generated from the following file: