mapcomponents/react-map-components-maplibre

Feature: Add implicit layer types to MlGeoJsonLayer

cioddi opened this issue · 1 comments

and default paint props for each layer type.

@mapcomponents/react-maplibre version: v0.1.9

Feature description

Derive the layer type of MlGeoJsonLayer from the given geojson props data if props.type is not explicitly set.
POINT > "circle"
LINESTRING > "line"
POLYGON > "fill"

Example

...

Summary

...

Implicit layer types have been added in v0.1.17. b7b0485