2using System.Collections;
3using System.Collections.Generic;
83 [ReinteropNativeImplementation(
84 "CesiumForUnityNative::CesiumGoogleMapTilesRasterOverlayImpl",
85 "CesiumGoogleMapTilesRasterOverlayImpl.h")]
86 [AddComponentMenu(
"Cesium/Cesium Google Map Tiles Raster Overlay")]
87 [IconAttribute(
"Packages/com.cesium.unity/Editor/Resources/Cesium-24x24.png")]
92 private string _apiKey =
"";
102 this._apiKey = value;
115 get => this._mapType;
118 this._mapType = value;
124 private string _language =
"en-US";
133 get => this._language;
136 this._language = value;
142 private string _region =
"US";
153 this._region = value;
180 private bool _highDpi;
203 get => this._highDpi;
set
205 this._highDpi = value;
211 private List<GoogleMapTilesLayerType> _layerTypes;
218 get => this._layerTypes;
221 this._layerTypes = value;
227 private List<string> _styles;
250 this._styles = value;
256 private bool _overlay =
false;
268 get => this._overlay;
271 this._overlay = value;
A tileset in the 3D Tiles format.
A raster overlay that directly accesses Google Map Tiles (2D).
GoogleMapTilesScale scale
Scales-up the size of map elements (such as road labels), while retaining the tile size and coverage ...
override partial void RemoveFromTileset(Cesium3DTileset tileset)
override partial void AddToTileset(Cesium3DTileset tileset)
string language
An IETF language tag that specifies the language used to display information on the tiles.
bool highDpi
Specifies whether to return high-resolution tiles.
List< GoogleMapTilesLayerType > layerTypes
The layer types to be added to the map.
bool overlay
Specifies whether layerTypes are rendered as a separate overlay, or combined with the base imagery.
string region
A Common Locale Data Repository region identifier (two uppercase letters) that represents the physica...
GoogleMapTilesMapType mapType
The type of base map.
List< string > styles
A list of JSON style objects that specify the appearance and detail level of map features such as roa...
string apiKey
The Google Map Tiles API key to use.
A pyramid of 2D images - sometimes terabytes or more in size - that can be draped over a Cesium3DTile...
void Refresh()
Refreshes this overlay by calling RemoveFromTileset followed by AddToTileset.
GoogleMapTilesScale
The possible values of CesiumGoogleMapTilesRasterOverlay.scale.
@ ScaleFactor1x
The default.
@ ScaleFactor2x
Doubles label size and removes minor feature labels.
@ ScaleFactor4x
Quadruples label size and removes minor feature labels.
GoogleMapTilesMapType
The possible values of CesiumGoogleMapTilesRasterOverlay.mapType.
@ Roadmap
The standard Google Maps painted map tiles.
@ Terrain
Terrain imagery.
@ Satellite
Satellite imagery.
GoogleMapTilesLayerType
The possible values of CesiumGoogleMapTilesRasterOverlay.layerTypes.
@ Streetview
Shows Street View-enabled streets and locations using blue outlines on the map.
@ Traffic
Displays current traffic conditions.