valueOf

open fun valueOf(@NonNull value: Geometry): GeoJSONSourceData

Create a variant from Geometry.

Return

the created variant

Parameters

value

Geometry to wrap


open fun valueOf(@NonNull value: Feature): GeoJSONSourceData

Create a variant from Feature.

Return

the created variant

Parameters

value

Feature to wrap


open fun valueOf(@NonNull value: List<Feature>): GeoJSONSourceData

Create a variant from List.

Return

the created variant

Parameters

value

Listto wrap


Create a variant from String.

Return

the created variant

Parameters

value

String to wrap