Repository navigation
maplore: components that put mapgl maps in context #230
JMTocho
started this conversation in
Show and tell
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Hi Kyle and everyone,
I've been building on mapgl and wanted to share the result: maplore, an extension package with components that help readers understand what they are looking at as they pan and zoom.
add_view_summary(): a live summary of the features in view (mean, median or total, highest and lowest, a histogram in the map's colors) compared with the whole mapadd_view_ranking(): the features in view with the highest or lowest valuesadd_context_tooltip(): each value with its rank and its difference with the averageadd_feature_search(): a search box over the map's own dataEverything runs in the browser, so it works in static HTML and Quarto dashboards without Shiny. It works with both
maplibre()andmapboxgl().Website: https://jmtocho.github.io/maplore/
Repo: https://github.com/JMTocho/maplore
maplore relies on a few mapgl internals (el.map, x.layers). Is that OK, or would you suggest a more stable way to hook in?
Feedback is very welcome !
All reactions