cesium-native 0.52.0
Loading...
Searching...
No Matches
CesiumRasterOverlays::GoogleMapTilesExistingSession Struct Reference

Holds the parameters for an existing Google Maps Tiles session. More...

#include <CesiumRasterOverlays/GoogleMapTilesRasterOverlay.h>

Public Attributes

std::string key
 The Google Map Tiles API key to use.
 
std::string session
 The session token value to include in all Map Tiles API requests.
 
std::string expiry
 A string that contains the time (in seconds since the epoch) at which the token expires.
 
uint32_t tileWidth
 The width of the tiles measured in pixels.
 
uint32_t tileHeight
 The height of the tiles measured in pixels.
 
std::string imageFormat
 The image format, which can be either GoogleMapTilesImageFormat::png or GoogleMapTilesImageFormat::jpeg.
 
bool showLogo = true
 Whether or not the GoogleMapTilesRasterOverlay should show the Google Maps logo.
 
std::string apiBaseUrl {"https://tile.googleapis.com/"}
 The base URL for the Google Maps Tiles API.
 

Detailed Description

Holds the parameters for an existing Google Maps Tiles session.

Definition at line 15 of file GoogleMapTilesRasterOverlay.h.

Member Data Documentation

◆ apiBaseUrl

std::string CesiumRasterOverlays::GoogleMapTilesExistingSession::apiBaseUrl {"https://tile.googleapis.com/"}

The base URL for the Google Maps Tiles API.

Definition at line 63 of file GoogleMapTilesRasterOverlay.h.

◆ expiry

std::string CesiumRasterOverlays::GoogleMapTilesExistingSession::expiry

A string that contains the time (in seconds since the epoch) at which the token expires.

Google documents that a session token is valid for two weeks from its creation time, but that this policy might change without notice.

Definition at line 33 of file GoogleMapTilesRasterOverlay.h.

◆ imageFormat

std::string CesiumRasterOverlays::GoogleMapTilesExistingSession::imageFormat

The image format, which can be either GoogleMapTilesImageFormat::png or GoogleMapTilesImageFormat::jpeg.

Definition at line 49 of file GoogleMapTilesRasterOverlay.h.

◆ key

std::string CesiumRasterOverlays::GoogleMapTilesExistingSession::key

The Google Map Tiles API key to use.

Definition at line 19 of file GoogleMapTilesRasterOverlay.h.

◆ session

std::string CesiumRasterOverlays::GoogleMapTilesExistingSession::session

The session token value to include in all Map Tiles API requests.

Definition at line 24 of file GoogleMapTilesRasterOverlay.h.

◆ showLogo

bool CesiumRasterOverlays::GoogleMapTilesExistingSession::showLogo = true

Whether or not the GoogleMapTilesRasterOverlay should show the Google Maps logo.

Google requires the logo to be shown, so setting this to false is only valid when something else is already showing the logo.

Definition at line 58 of file GoogleMapTilesRasterOverlay.h.

◆ tileHeight

uint32_t CesiumRasterOverlays::GoogleMapTilesExistingSession::tileHeight

The height of the tiles measured in pixels.

Definition at line 43 of file GoogleMapTilesRasterOverlay.h.

◆ tileWidth

uint32_t CesiumRasterOverlays::GoogleMapTilesExistingSession::tileWidth

The width of the tiles measured in pixels.

Definition at line 38 of file GoogleMapTilesRasterOverlay.h.


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