yukinarit / mapbox-gl-rs

Unofficial Rust/WASM binding for mapbox-gl-js
MIT License
39 stars 14 forks source link

Add heatmap example #17

Open andres-hurtado-lopez opened 1 year ago

andres-hurtado-lopez commented 1 year ago

This project is open to accept contributions to enable support for using heatmaps ? It is not included on this roadmap but is quite useful.

The requirements for heatmaps would be to extend the Paint structure to allow some additional properties that could me set by default as none to not affect the existing base of dependent crates.

I'm glad to build the necessary wasm-bindgen but I need the confirmation that there is interest to send the pull request

yukinarit commented 1 year ago

Hi @andres-hurtado-lopez Yes, this project accepts PR 👍 feel free to ask me anything if you have questions

RmStorm commented 1 month ago

Heatmap layers are supported now! https://github.com/yukinarit/mapbox-gl-rs/blob/main/src/layer.rs#L1045

yukinarit commented 1 month ago

@RmStorm thanks. I changed the issue to "add heatmap example".