VectorTileFeature class

Constructors

VectorTileFeature({required Int64 id, required List<int> tags, VectorTileGeomType? type, List<int>? geometryList, int? extent, List<String>? keys, List<VectorTileValue>? values})

Properties

extent int?
getter/setter pair
geometry Geometry?
getter/setter pair
geometryList List<int>?
getter/setter pair
geometryType GeometryType?
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
id ↔ Int64
getter/setter pair
keys List<String>?
getter/setter pair
properties Map<String, VectorTileValue>?
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
tags List<int>
getter/setter pair
type VectorTileGeomType?
getter/setter pair
values List<VectorTileValue>?
getter/setter pair

Methods

decodeGeometry<T extends Geometry?>() → T?
Decode feature geometry data
decodeLineString() List<List<List<int>>>
Decode LineString geometry
decodePoint() List<List<int>>
Decode LineString geometry
decodePolygon() List<List<List<List<int>>>>
Decode polygon geometry
decodeProperties() Map<String, VectorTileValue>
Decode properties from feature tags and key/value pairs got from parent layer
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toGeoJson<T extends GeoJson<Geometry>>({required int x, required int y, required int z}) → T?
Get GeoJson data from this feature
toGeoJsonWithExtentCalculated<T extends GeoJson<Geometry>>({required int x0, required int y0, required int size}) → T?
Get GeoJson data from this feature
toRaw() VectorTile_Feature
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited