Cesium for Unreal 2.21.0
Loading...
Searching...
No Matches
CesiumAzureMapsRasterOverlay.h
Go to the documentation of this file.
1// Copyright 2020-2025 CesiumGS, Inc. and Contributors
2
3#pragma once
4
6#include "CoreMinimal.h"
7#include "CesiumAzureMapsRasterOverlay.generated.h"
8
9/**
10 * Supported values for the `TilesetId` property.
11 */
12UENUM(BlueprintType)
13enum class EAzureMapsTilesetId : uint8 {
14 /**
15 * All roadmap layers with Azure Maps' main style.
16 */
17 BaseRoad UMETA(DisplayName = "Base"),
18 /**
19 * All roadmap layers with Azure Maps' dark grey style.
20 */
21 BaseDarkGrey UMETA(DisplayName = "Base (Dark Grey)"),
22 /**
23 * Label data in Azure Maps' main style.
24 */
25 BaseLabelsRoad UMETA(DisplayName = "Labels"),
26 /**
27 * Label data in Azure Maps' dark grey style.
28 */
29 BaseLabelsDarkGrey UMETA(DisplayName = "Labels (Dark Grey)"),
30 /**
31 * Road, boundary, and label data in Azure Maps' main style.
32 */
33 BaseHybridRoad UMETA(DisplayName = "Hybrid"),
34 /**
35 * Road, boundary, and label data in Azure Maps' dark grey style.
36 */
37 BaseHybridDarkGrey UMETA(DisplayName = "Hybrid (Dark Grey)"),
38 /**
39 * A combination of satellite or aerial imagery. Only available for accounts
40 * under S1 and G2 pricing SKU.
41 */
43 /**
44 * Shaded relief and terra layers.
45 */
47 /**
48 * Weather radar tiles. Latest weather radar images including areas of rain,
49 * snow, ice and mixed conditions.
50 */
51 WeatherRadar UMETA(DisplayName = "Weather (Radar)"),
52 /**
53 * Weather infrared tiles. Latest infrared satellite images showing clouds by
54 * their temperature.
55 */
56 WeatherInfrared UMETA(DisplayName = "Weather (Infrared)"),
57 /**
58 * Absolute traffic tiles in Azure Maps' main style.
59 */
60 TrafficAbsolute UMETA(DisplayName = "Traffic (Absolute)"),
61 /**
62 * Relative traffic tiles in Azure Maps' main style. This filters out traffic
63 * data from smaller streets that are otherwise included in TrafficAbsolute.
64 */
65 TrafficRelativeMain UMETA(DisplayName = "Traffic (Relative)"),
66 /**
67 * Relative traffic tiles in Azure Maps' dark style. This filters out traffic
68 * data from smaller streets that are otherwise included in TrafficAbsolute.
69 */
70 TrafficRelativeDark UMETA(DisplayName = "Traffic (Relative, Dark)"),
71 /**
72 * Delay traffic tiles in Azure Maps' dark style. This only shows the points
73 * of delay along traffic routes that are otherwise included in
74 * TrafficAbsolute.
75 */
76 TrafficDelay UMETA(DisplayName = "Traffic (Delay)"),
77 /**
78 * Reduced traffic tiles in Azure Maps' dark style. This shows the traffic
79 * routes and major delay points, but filters out some data that is otherwise
80 * included in TrafficAbsolute.
81 */
82 TrafficReduced UMETA(DisplayName = "Traffic (Reduced)"),
83};
84
85/**
86 * A raster overlay that directly accesses Azure Maps. If you're using Azure
87 * Maps via Cesium ion, use the "Cesium ion Raster Overlay" component instead.
88 */
89UCLASS(ClassGroup = Cesium, meta = (BlueprintSpawnableComponent))
90class CESIUMRUNTIME_API UCesiumAzureMapsRasterOverlay
91 : public UCesiumRasterOverlay {
92 GENERATED_BODY()
93
94public:
95 /**
96 * The Azure Maps subscription key to use.
97 */
98 UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "Cesium")
99 FString Key;
100
101 /**
102 * The version number of Azure Maps API.
103 */
104 UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "Cesium")
105 FString ApiVersion = "2024-04-01";
106
107 /**
108 * The tileset ID to use.
109 */
110 UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "Cesium")
112
113 /**
114 * The language in which search results should be returned. This should be one
115 * of the supported IETF language tags, case insensitive. When data in the
116 * specified language is not available for a specific field, default language
117 * is used.
118 */
119 UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "Cesium")
120 FString Language = "en-US";
121
122 /**
123 * The View parameter (also called the "user region" parameter) allows
124 * you to show the correct maps for a certain country/region for
125 * geopolitically disputed regions.
126 *
127 * Different countries/regions have different views of such regions, and the
128 * View parameter allows your application to comply with the view required by
129 * the country/region your application will be serving. By default, the View
130 * parameter is set to "Unified" even if you haven't defined it in the
131 * request. It is your responsibility to determine the location of your users,
132 * and then set the View parameter correctly for that location. Alternatively,
133 * you have the option to set 'View=Auto', which will return the map data
134 * based on the IP address of the request. The View parameter in Azure Maps
135 * must be used in compliance with applicable laws, including those regarding
136 * mapping, of the country/region where maps, images and other data and third
137 * party content that you are authorized to access via Azure Maps is made
138 * available. Example: view=IN.
139 */
140 UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "Cesium")
141 FString View = "US";
142
143protected:
144 virtual std::unique_ptr<CesiumRasterOverlays::RasterOverlay> CreateOverlay(
145 const CesiumRasterOverlays::RasterOverlayOptions& options = {}) override;
146};
EAzureMapsTilesetId
Supported values for the TilesetId property.
@ Imagery
A combination of satellite or aerial imagery.
@ Terra
Shaded relief and terra layers.
@ UMETA
All roadmap layers with Azure Maps' main style.
A raster overlay that directly accesses Azure Maps.
FString View
The View parameter (also called the "user region" parameter) allows you to show the correct maps for ...
FString Key
The Azure Maps subscription key to use.
FString ApiVersion
The version number of Azure Maps API.
FString Language
The language in which search results should be returned.
EAzureMapsTilesetId TilesetId
The tileset ID to use.
virtual std::unique_ptr< CesiumRasterOverlays::RasterOverlay > CreateOverlay(const CesiumRasterOverlays::RasterOverlayOptions &options={}) override
STL namespace.