cesium-native 0.50.0
Loading...
Searching...
No Matches
CesiumVectorData::GeoJsonFeatureCollection Struct Reference

A FeatureCollection represents any number of GeoJsonFeature objects. More...

#include <CesiumVectorData/GeoJsonObjectTypes.h>

Public Attributes

std::vector< GeoJsonObjectfeatures
 The GeoJsonFeature objects contained in this FeatureCollection.
 
std::optional< CesiumGeometry::AxisAlignedBoxboundingBox = std::nullopt
 The bounding box associated with this GeoJsonFeatureCollection value, if any.
 
CesiumUtility::JsonValue::Object foreignMembers
 Any members specified on this object that are not part of the specification for this object.
 
std::optional< VectorStylestyle = std::nullopt
 The style to apply to this object as well as any child object. If not set, the style of any parent object or the default style will be used.
 

Static Public Attributes

static constexpr GeoJsonObjectType TYPE
 The GeoJsonObjectType for a FeatureCollection.
 

Detailed Description

A FeatureCollection represents any number of GeoJsonFeature objects.

Definition at line 386 of file GeoJsonObjectTypes.h.

Member Data Documentation

◆ boundingBox

std::optional<CesiumGeometry::AxisAlignedBox> CesiumVectorData::GeoJsonFeatureCollection::boundingBox = std::nullopt

The bounding box associated with this GeoJsonFeatureCollection value, if any.

Definition at line 400 of file GeoJsonObjectTypes.h.

◆ features

std::vector<GeoJsonObject> CesiumVectorData::GeoJsonFeatureCollection::features

The GeoJsonFeature objects contained in this FeatureCollection.

Definition at line 394 of file GeoJsonObjectTypes.h.

◆ foreignMembers

CesiumUtility::JsonValue::Object CesiumVectorData::GeoJsonFeatureCollection::foreignMembers
Initial value:
=
std::map< std::string, JsonValue > Object
The type to represent an Object JSON value.
Definition JsonValue.h:73

Any members specified on this object that are not part of the specification for this object.

See https://datatracker.ietf.org/doc/html/rfc7946#section-6.1 for more information.

Definition at line 409 of file GeoJsonObjectTypes.h.

◆ style

std::optional<VectorStyle> CesiumVectorData::GeoJsonFeatureCollection::style = std::nullopt

The style to apply to this object as well as any child object. If not set, the style of any parent object or the default style will be used.

Definition at line 416 of file GeoJsonObjectTypes.h.

◆ TYPE

GeoJsonObjectType CesiumVectorData::GeoJsonFeatureCollection::TYPE
staticconstexpr
Initial value:
=
GeoJsonObjectType::FeatureCollection

The GeoJsonObjectType for a FeatureCollection.

Definition at line 388 of file GeoJsonObjectTypes.h.


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