-
Notifications
You must be signed in to change notification settings - Fork 2.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Implement 2D conditional terrain coloring #4421
Comments
I meant showing terrain above certain height in red. Those below certain level in transparent and yellow for things in-between. |
Thanks for your request @femski. @stevage is correct! I'm working on 2d client-side hillshading which will expose several new style-spec properties for controlling how terrain appears on the map. We don't have plans to allow raw elevation querying as part of that effort. I think supporting custom raster sources would cover that use-case. Lets keep conversation centralized in #3889 and #3730. |
While we wait for 3D terrain, a simple conditional 2D hill-shading would be sufficient for many needs. Something like:
http://ivansanchez.gitlab.io/Leaflet.TileLayer.GL/demo/demo-flood.html
Is this what you will implement in Issue #3730 ? Or is there an example somewhere that demonstrates how we can show conditional terrain today ? Thanks.
The text was updated successfully, but these errors were encountered: