createVectorTileLayer function
VectorTile_Layer
createVectorTileLayer({
- required String name,
- required int extent,
- required int version,
- List<
String> ? keys, - List<
VectorTile_Value> ? values, - List<
VectorTile_Feature> ? features,
Create a layer that will be attach into vector tiles
@spec: https://github.com/mapbox/vector-tile-spec/blob/master/2.1/README.md#41-layers
Implementation
VectorTile_Layer createVectorTileLayer({
required String name,
required int extent,
required int version,
List<String>? keys,
List<VectorTile_Value>? values,
List<VectorTile_Feature>? features,
}) {
return VectorTile_Layer(
name: name,
extent: extent,
version: version,
keys: keys,
values: values,
features: features,
);
}