sdk-common / com.tomtom.online.sdk.common.geojson / Feature / FeatureBuilder

FeatureBuilder

open class FeatureBuilder

Functions

build

open fun build(): Feature!

Creates a new instance of Feature.

geometry

open fun geometry(geometry: Geometry!): Feature.FeatureBuilder!

Defines the geometries in a feature.

id

open fun id(id: Optional<String!>!): Feature.FeatureBuilder!

Defines the ID of a feature.

properties

open fun properties(properties: Optional<Properties!>!): Feature.FeatureBuilder!

Defines the properties in a feature.

toString

open fun toString(): String