createVectorTileFeature function

VectorTile_Feature createVectorTileFeature({
  1. Int64? id,
  2. List<int>? tags,
  3. required VectorTile_GeomType type,
  4. required List<int> geometry,
})

Create a feature that will be attach into layers

@spec: https://github.com/mapbox/vector-tile-spec/blob/master/2.1/README.md#42-features

Implementation

VectorTile_Feature createVectorTileFeature({
  Int64? id,
  List<int>? tags,
  required VectorTile_GeomType type,
  required List<int> geometry,
}) {
  return VectorTile_Feature(
    id: id,
    tags: tags,
    type: type,
    geometry: geometry,
  );
}