geometry Type
fun geometryType()
Content copied to clipboard
Returns the feature's geometry type: Point
, MultiPoint
, LineString
, MultiLineString
, Polygon
, MultiPolygon
. Multi-
feature types are only returned in GeoJSON sources. When working with vector tile sources, use the singular forms.