mapbox / mapbox-gl-js

Interactive, thoroughly customizable maps in the browser, powered by vector tiles and WebGL
https://docs.mapbox.com/mapbox-gl-js/
Other
11.23k stars 2.23k forks source link

Terrain: drape map aligned circles #11075

Open astojilj opened 3 years ago

astojilj commented 3 years ago

Similarly to #10365 , we could drape circles that are map aligned (circle-pitch-alignment and circle-pitch-scale == 'map').

With terrain and set Map.optimizeForTerrain (set by default) the map will render for performance priority, which may lead to layer reordering allowing to maximize performance (layers that are draped over terrain will be drawn first, including fill, line, background, hillshade and raster). Any circles will be rendered later, with symbols. Supporting draping for map aligned circles, in addition to immediate render, would allow them to be rendered in proper order, regardless if they are within draped or non draped batch of layers.

joshreed commented 6 months ago

This is still an issue, and I'd love to see it resolved.