![]() |
Cesium for Unity 1.23.0
|
Represents a Feature in a GeoJSON document. More...
Public Member Functions | |
| partial CesiumGeoJsonFeatureIdType | GetIdType () |
| Gets the type of ID on this feature. | |
| partial string | GetIdAsString () |
| Gets the feature ID as a string. | |
| partial long | GetIdAsInteger () |
| Gets the feature ID as an integer. | |
| partial string | GetPropertiesAsJson () |
| Gets the properties of this feature as a JSON string. | |
| partial string | GetStringProperty (string propertyName) |
| Gets a string property value from this feature. | |
| partial double | GetNumericProperty (string propertyName) |
| Gets a numeric property value from this feature. | |
| partial bool | HasProperty (string propertyName) |
| Checks whether a property exists on this feature. | |
| partial CesiumGeoJsonObject | GetGeometry () |
| Gets the geometry associated with this feature. | |
Represents a Feature in a GeoJSON document.
A GeoJSON Feature has an optional ID, a set of properties, and an associated geometry. Use CesiumGeoJsonObject.GetObjectAsFeature or CesiumGeoJsonObject.GetObjectAsFeatureCollection to obtain instances of this class.
Definition at line 18 of file CesiumGeoJsonFeature.cs.
| partial CesiumGeoJsonObject CesiumForUnity.CesiumGeoJsonFeature.GetGeometry | ( | ) |
Gets the geometry associated with this feature.
| partial long CesiumForUnity.CesiumGeoJsonFeature.GetIdAsInteger | ( | ) |
Gets the feature ID as an integer.
| partial string CesiumForUnity.CesiumGeoJsonFeature.GetIdAsString | ( | ) |
Gets the feature ID as a string.
| partial CesiumGeoJsonFeatureIdType CesiumForUnity.CesiumGeoJsonFeature.GetIdType | ( | ) |
Gets the type of ID on this feature.
| partial double CesiumForUnity.CesiumGeoJsonFeature.GetNumericProperty | ( | string | propertyName | ) |
Gets a numeric property value from this feature.
| propertyName | The name of the property. |
| partial string CesiumForUnity.CesiumGeoJsonFeature.GetPropertiesAsJson | ( | ) |
Gets the properties of this feature as a JSON string.
| partial string CesiumForUnity.CesiumGeoJsonFeature.GetStringProperty | ( | string | propertyName | ) |
Gets a string property value from this feature.
| propertyName | The name of the property. |
| partial bool CesiumForUnity.CesiumGeoJsonFeature.HasProperty | ( | string | propertyName | ) |
Checks whether a property exists on this feature.
| propertyName | The name of the property. |