Cesium for Unreal 2.15.0
Loading...
Searching...
No Matches
CesiumTileMapServiceRasterOverlay.h
Go to the documentation of this file.
1// Copyright 2020-2024 CesiumGS, Inc. and Contributors
2
3#pragma once
4
6#include "Components/ActorComponent.h"
7#include "CoreMinimal.h"
8#include "CesiumTileMapServiceRasterOverlay.generated.h"
9
10/**
11 * A raster overlay that directly accesses a Tile Map Service (TMS) server. If
12 * you're using a Tile Map Service via Cesium ion, use the "Cesium ion Raster
13 * Overlay" component instead.
14 */
15UCLASS(ClassGroup = Cesium, meta = (BlueprintSpawnableComponent))
17 : public UCesiumRasterOverlay {
18 GENERATED_BODY()
19
20public:
21 /**
22 * The base URL of the Tile Map Service (TMS).
23 */
24 UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "Cesium")
25 FString Url;
26
27 /**
28 * True to directly specify minum and maximum zoom levels available from the
29 * server, or false to automatically determine the minimum and maximum zoom
30 * levels from the server's tilemapresource.xml file.
31 */
32 UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "Cesium")
33 bool bSpecifyZoomLevels = false;
34
35 /**
36 * Minimum zoom level.
37 */
38 UPROPERTY(
39 EditAnywhere,
40 BlueprintReadWrite,
41 Category = "Cesium",
42 meta = (EditCondition = "bSpecifyZoomLevels", ClampMin = 0))
43 int32 MinimumLevel = 0;
44
45 /**
46 * Maximum zoom level.
47 */
48 UPROPERTY(
49 EditAnywhere,
50 BlueprintReadWrite,
51 Category = "Cesium",
52 meta = (EditCondition = "bSpecifyZoomLevels", ClampMin = 0))
53 int32 MaximumLevel = 10;
54
55 /**
56 * HTTP headers to be attached to each request made for this raster overlay.
57 */
58 UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "Cesium")
59 TMap<FString, FString> RequestHeaders;
60
61protected:
62 virtual std::unique_ptr<CesiumRasterOverlays::RasterOverlay> CreateOverlay(
63 const CesiumRasterOverlays::RasterOverlayOptions& options = {}) override;
64};
A raster overlay that directly accesses a Tile Map Service (TMS) server.
TMap< FString, FString > RequestHeaders
HTTP headers to be attached to each request made for this raster overlay.
bool bSpecifyZoomLevels
True to directly specify minum and maximum zoom levels available from the server, or false to automat...
FString Url
The base URL of the Tile Map Service (TMS).
virtual std::unique_ptr< CesiumRasterOverlays::RasterOverlay > CreateOverlay(const CesiumRasterOverlays::RasterOverlayOptions &options={}) override
STL namespace.