geometryType

fun geometryType()

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.