maplibre / flutter-maplibre-gl

Customizable, performant and vendor-free vector and raster maps, flutter wrapper for maplibre-native and maplibre-gl-js (fork of flutter-mapbox-gl/maps)
https://pub.dev/packages/maplibre_gl
Other
215 stars 117 forks source link

Support generic properties in setLayerProperties #352

Open m0nac0 opened 10 months ago

m0nac0 commented 10 months ago

I.e., the properties that apply to every layer-type (cf. https://maplibre.org/maplibre-style-spec/layers/#layer-properties). Currently we only support the layer-type-specific properties. We probably need to adapt https://github.com/maplibre/flutter-maplibre-gl/blob/main/scripts/templates/layer_properties.dart.template.

m0nac0 commented 10 months ago

minZoom and maxZoom might be the only relevant properties we can actually set at runtime.