Class Feature
-
- All Implemented Interfaces:
public final class FeatureA data class representing a single feature, which combines a geometry, its style, and arbitrary properties.
This is a platform-agnostic representation of a feature to be rendered on a map.
-
-
Method Summary
Modifier and Type Method Description final GeometrygetGeometry()The geometric object of the feature. final StylegetStyle()The style to be applied to the feature. final Map<String, Object>getProperties()A map of arbitrary properties associated with the feature. -
-
Method Detail
-
getGeometry
final Geometry getGeometry()
The geometric object of the feature.
-
getStyle
final Style getStyle()
The style to be applied to the feature. Can be null if no specific style is defined for the feature.
-
getProperties
final Map<String, Object> getProperties()
A map of arbitrary properties associated with the feature. Defaults to an empty map.
-
-
-
-