larsmaxfield / maplibre-gl-js

MapLibre GL JS - Interactive vector tile maps in WebGL2
https://maplibre.org/maplibre-gl-js/docs/
Other
0 stars 0 forks source link

Auto-adjust colormap of elevation layer based on max/min of current view #10

Closed larsmaxfield closed 2 months ago

larsmaxfield commented 5 months ago

Investigate using Map.querySourceFeatures to get max/min of the tiles in view: https://github.com/maplibre/maplibre-gl-js/issues/1393

Possible implementation approach in a similar feature request for a Leaflet-based implementation: https://github.com/equinor/leaflet.tilelayer.gloperations/issues/51

larsmaxfield commented 2 months ago

Seems to be solvable with external approaches instead of adding something internal in maplibre.