addFeature

open fun addFeature(feature: GeoJsonFeature)

Adds a GeoJsonFeature to the layer. If the point, linestring or polygon style is set to null, the relevant default styles are applied.

Parameters

feature

GeoJsonFeature to add to the layer