Class Feature.Builder
java.lang.Object
com.here.platform.data.client.model.geojson.Feature.Builder
- Enclosing class:
- Feature
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()withCustomMember(String key, Object value) Add custom (foreign) members to the Feature objectwithGeometry(Geometry geometry) withProperties(Map<String, Object> properties)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
build
- Returns:
- the built Feature
-
withBbox
- Parameters:
bbox- the bounding box of the feature; for meaning of bbox coordinates see https://developer.here.com/documentation/data-client-library/dev_guide/client/publish-data.html#interactive-layer-coords
-
withCustomMember
Add custom (foreign) members to the Feature object- Parameters:
key- the key of the custom membervalue- the value of the custom member
-
withGeometry
- Parameters:
geometry- the geometry of the feature
-
withId
- Parameters:
id- the ID of the feature
-
withProperties
- Parameters:
properties- the property map in the features
-