r-spatial / leafgl

R package for fast web gl rendering for leaflet
https://r-spatial.github.io/leafgl/
Other
268 stars 32 forks source link

Support for MULTIPOLYGON #41

Open jaredlander opened 4 years ago

jaredlander commented 4 years ago

This is not a bug, but a feature request, and unfortunately I offer nothing in the way of a solution, just the ask.

leaflet::addPolygons() supports MULTIPOLYGONs so it would be nice if leafgl::addGlPolygons() did too. It's my goal to completely replace {leaflet} functions with {leafgl} functions.

tim-salabim commented 4 years ago

This is currently not possible because the upstream dependency doesn't handle MULTIPOLYGONs. But I think there are efforts to support them. I will support them here as soon as the upstream repo has support for them.

jaredlander commented 4 years ago

Good to know, thanks.

trafficonese commented 5 months ago

This is the upstream PR https://github.com/robertleeplummerjr/Leaflet.glify/pull/66