Cesium for Unity 1.19.0
Loading...
Searching...
No Matches
CesiumAzureMapsRasterOverlay.cs
Go to the documentation of this file.
1using Reinterop;
2using UnityEngine;
3
4namespace CesiumForUnity
5{
81
86 [ReinteropNativeImplementation(
87 "CesiumForUnityNative::CesiumAzureMapsRasterOverlayImpl",
88 "CesiumAzureMapsRasterOverlayImpl.h")]
89 [AddComponentMenu("Cesium/Cesium Azure Maps Raster Overlay")]
90 [IconAttribute("Packages/com.cesium.unity/Editor/Resources/Cesium-24x24.png")]
92 {
93 [SerializeField]
94 private string _key = "";
95
99 public string key
100 {
101 get => this._key;
102 set
103 {
104 this._key = value;
105 this.Refresh();
106 }
107 }
108
109 [SerializeField] private string _apiVersion = "2024-04-01";
113 public string apiVersion
114 {
115 get => this._apiVersion;
116 set
117 {
118 this._apiVersion = value;
119 this.Refresh();
120 }
121 }
122
123 [SerializeField]
124 private AzureMapsTilesetId _tilesetId = AzureMapsTilesetId.BaseRoad;
125
130 {
131 get => this._tilesetId;
132 set
133 {
134 this._tilesetId = value;
135 this.Refresh();
136 }
137 }
138
139 [SerializeField]
140 private string _language = "en-us";
141
148 public string language
149 {
150 get => this._language;
151 set
152 {
153 this._language = value;
154 this.Refresh();
155 }
156 }
157
158 [SerializeField]
159 private string _view = "US";
160
180 public string view
181 {
182 get => this._view;
183 set
184 {
185 this._view = value;
186 this.Refresh();
187 }
188 }
189
191 protected override partial void AddToTileset(Cesium3DTileset tileset);
192
194 protected override partial void RemoveFromTileset(Cesium3DTileset tileset);
195 }
196}
A tileset in the 3D Tiles format.
A raster overlay that directly accesses Azure Maps.
string language
The language in which search results should be returned.
AzureMapsTilesetId tilesetId
The tileset ID to use.
string view
The View parameter (also called the "user region" parameter) allows you to show the correct maps for ...
string apiVersion
The version number of Azure Maps API.
override partial void RemoveFromTileset(Cesium3DTileset tileset)
string key
The Azure Maps subscription key to use.
override partial void AddToTileset(Cesium3DTileset tileset)
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.
AzureMapsTilesetId
The available styles of the CesiumAzureMapsRasterOverlay.
@ BaseHybridDarkGrey
Road, boundary, and label data in Azure Maps' dark grey style.
@ BaseLabelsDarkGrey
Label data in Azure Maps' dark grey style.
@ TrafficReduced
Reduced traffic tiles in Azure Maps' dark style.
@ Imagery
A combination of satellite or aerial imagery.
@ WeatherRadar
Weather radar tiles.
@ TrafficDelay
Delay traffic tiles in Azure Maps' dark style.
@ TrafficRelativeDark
Relative traffic tiles in Azure Maps' dark style.
@ BaseDarkGrey
All roadmap layers with Azure Maps' dark grey style.
@ Terra
Shaded relief and terra layers.
@ BaseHybridRoad
Road, boundary, and label data in Azure Maps' main style.
@ BaseRoad
All roadmap layers with Azure Maps' main style.
@ TrafficAbsolute
Absolute traffic tiles in Azure Maps' main style.
@ TrafficRelativeMain
Relative traffic tiles in Azure Maps' main style.
@ WeatherInfrared
Weather infrared tiles.
@ BaseLabelsRoad
Label data in Azure Maps' main style.