Open atsyplenkov opened 6 days ago
I was thinking the same in the past few weeks. It's a bit annoying having to type out so much code to have a quick preview of the dataset with popups of all variables upon clicking a feature. For full customization I would of course go for the full syntax of {mapgl}
functions, but fore quick previews I still use mapview()
with mapviewOptions(platform='leafgl')
, as it is just faster to type right now.
Hi Kyle 👋
Could you please consider adding a function similar to what
mapview::mapview()
does? I.e., a generic one that takes ansf
/sfc
object and plots it depending on the geometry. For example, I foresee it to be something like the following.I am interested because sometimes I just want to visually inspect the geometry, but I found mapview a bit slow. And mapgl is so responsive!
If you like the approach, I am more than happy to create a PR. It can be scaled for
terra
support.Created on 2024-11-13 with reprex v2.1.0