![]() |
NDEVR
API Documentation
|
Fetches Web Mercator map tiles from Google Maps tile servers. More...
Public Types | |
| enum class | GoogleLayer { e_satellite , e_road , e_terrain , e_hybrid } |
| The available Google Maps layer types. More... | |
Public Member Functions | |
| GoogleWebMercatorTileService (GoogleLayer layer) | |
| Constructs a Google tile service for the specified layer. | |
| Buffer< WebMercatorTile::DPI > | getSupportedDPIs () const final override |
| Returns the DPI values supported by this service. | |
| Buffer< WebMercatorTile::Resolution > | getSupportedResolutions () const final override |
| Returns the tile resolutions supported by this service. | |
| String | getUrl (WebMercatorTile tile, const MercatorImageRequest &request) const final override |
| Builds the URL for fetching a specific tile. | |
| UUID | getUUID (WebMercatorTile tile, const MercatorImageRequest &request) const final override |
| Returns a unique identifier for a specific tile request. | |
| Public Member Functions inherited from WebMercatorTileService | |
| WebMercatorTileService ()=default | |
| Default constructor. | |
| WebMercatorTileService (const WebMercatorTileService &other)=default | |
| Copy constructor. | |
| WebMercatorTileService (WebMercatorTileService &&other)=default | |
| Move constructor. | |
| virtual | ~WebMercatorTileService ()=default |
| Virtual destructor. | |
| WebMercatorTileService & | operator= (const WebMercatorTileService &other)=default |
| Copy assignment operator. | |
| WebMercatorTileService & | operator= (WebMercatorTileService &&other)=default |
| Move assignment operator. | |
Static Public Member Functions | |
| static uint04 | URLFeatureCode (ArialFeatureList item) |
| Returns the URL feature code for an aerial feature list item. | |
Protected Member Functions | |
| void | buildSecrets (WebMercatorTile tile, String &secret_1, String &secret_2) const |
| Builds authentication secret strings for a tile request. | |
Protected Attributes | |
| GoogleLayer | m_layer = GoogleLayer::e_satellite |
| The active Google Maps layer. | |
| String | m_secret |
| The authentication secret for tile requests. | |
Fetches Web Mercator map tiles from Google Maps tile servers.
Definition at line 66 of file WebMercatorTiledImageManager.h.
|
strong |
The available Google Maps layer types.
| Enumerator | |
|---|---|
| e_satellite | Satellite imagery. |
| e_road | Road map. |
| e_terrain | Terrain map. |
| e_hybrid | Satellite imagery with road overlay. |
Definition at line 70 of file WebMercatorTiledImageManager.h.
| GoogleWebMercatorTileService::GoogleWebMercatorTileService | ( | GoogleLayer | layer | ) |
Constructs a Google tile service for the specified layer.
| [in] | layer | The Google Maps layer type. |
References GoogleWebMercatorTileService().
Referenced by GoogleWebMercatorTileService().
|
protected |
Builds authentication secret strings for a tile request.
| [in] | tile | The tile coordinates. |
| [out] | secret_1 | The first secret string. |
| [out] | secret_2 | The second secret string. |
References buildSecrets().
Referenced by buildSecrets().
|
finaloverridevirtual |
Returns the DPI values supported by this service.
Implements WebMercatorTileService.
References getSupportedDPIs().
Referenced by getSupportedDPIs().
|
finaloverridevirtual |
Returns the tile resolutions supported by this service.
Implements WebMercatorTileService.
|
finaloverridevirtual |
Builds the URL for fetching a specific tile.
| [in] | tile | The tile coordinates. |
| [in] | request | The image request parameters. |
Implements WebMercatorTileService.
|
finaloverridevirtual |
Returns a unique identifier for a specific tile request.
| [in] | tile | The tile coordinates. |
| [in] | request | The image request parameters. |
Implements WebMercatorTileService.
|
static |
Returns the URL feature code for an aerial feature list item.
| [in] | item | The aerial feature. |