cesium-native  0.41.0
CesiumRasterOverlays::TileMapServiceRasterOverlayOptions Struct Reference

Options for tile map service accesses. More...

#include <CesiumRasterOverlays/TileMapServiceRasterOverlay.h>

Public Attributes

std::optional< std::string > fileExtension
 The file extension for images on the server.
 
std::optional< std::string > credit
 A credit for the data source, which is displayed on the canvas.
 
std::optional< uint32_t > minimumLevel
 The minimum level-of-detail supported by the imagery provider. More...
 
std::optional< uint32_t > maximumLevel
 The maximum level-of-detail supported by the imagery provider. More...
 
std::optional< CesiumGeometry::RectanglecoverageRectangle
 The CesiumGeometry::Rectangle, in radians, covered by the image.
 
std::optional< CesiumGeospatial::Projectionprojection
 The CesiumGeospatial::Projection that is used.
 
std::optional< CesiumGeometry::QuadtreeTilingSchemetilingScheme
 The CesiumGeometry::QuadtreeTilingScheme specifying how the ellipsoidal surface is broken into tiles.
 
std::optional< CesiumGeospatial::Ellipsoidellipsoid
 The CesiumGeospatial::Ellipsoid. More...
 
std::optional< uint32_t > tileWidth
 Pixel width of image tiles.
 
std::optional< uint32_t > tileHeight
 Pixel height of image tiles.
 
std::optional< bool > flipXY
 An otion to flip the x- and y values of a tile map resource. More...
 

Detailed Description

Options for tile map service accesses.

Definition at line 20 of file TileMapServiceRasterOverlay.h.

Member Data Documentation

◆ ellipsoid

std::optional<CesiumGeospatial::Ellipsoid> CesiumRasterOverlays::TileMapServiceRasterOverlayOptions::ellipsoid

The CesiumGeospatial::Ellipsoid.

If the tilingScheme is specified, this parameter is ignored and the tiling scheme's ellipsoid is used instead. If neither parameter is specified, the CesiumGeospatial::Ellipsoid::WGS84 is used.

Definition at line 72 of file TileMapServiceRasterOverlay.h.

◆ flipXY

std::optional<bool> CesiumRasterOverlays::TileMapServiceRasterOverlayOptions::flipXY

An otion to flip the x- and y values of a tile map resource.

Older versions of gdal2tiles.py flipped X and Y values in tilemapresource.xml. Specifying this option will do the same, allowing for loading of these incorrect tilesets.

Definition at line 91 of file TileMapServiceRasterOverlay.h.

◆ maximumLevel

std::optional<uint32_t> CesiumRasterOverlays::TileMapServiceRasterOverlayOptions::maximumLevel

The maximum level-of-detail supported by the imagery provider.

This will be std::nullopt if there is no limit.

Definition at line 46 of file TileMapServiceRasterOverlay.h.

◆ minimumLevel

std::optional<uint32_t> CesiumRasterOverlays::TileMapServiceRasterOverlayOptions::minimumLevel

The minimum level-of-detail supported by the imagery provider.

Take care when specifying this that the number of tiles at the minimum level is small, such as four or less. A larger number is likely to result in rendering problems.

Definition at line 39 of file TileMapServiceRasterOverlay.h.


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