mapgl
mapgl copied to clipboard
R interface to Mapbox GL JS v3 and Maplibre GL JS
As discussed in #97. > Hi, posting this here because I am not sure if this is a bug or (my) skill issue. > > I am trying to create...
Hi! this package it's great! thanks! Im having a memory leak in a shinyapp when using maplibre_proxy along with the functions clear_layer() and clear_legend(). Every time the user applies different...
Ah, the whack-a-mole we play in software development. In solving #39 with #99, I came across another issue. Layer states introduced by `set_filter()`, `set_paint_property()`, and `set_layout_property()` are not preserved when...
Hello @walkerke , I wonder if it is possible to add support for flow visualisation with both or either of: - arcs https://svelte-maplibre.vercel.app/examples/deckgl-arcs , implemented in https://symbolixau.github.io/mapdeck/reference/add_arc.html  - flowmaps...
Hi, Is there any way to draw a rectangle like in https://trafficonese.github.io/leaflet.extras/reference/draw.html ?
This bug was identified in the discussions of #12. Default values for shiny inputs that are observed to modify the map via proxy function are not currently applied. This is...
Since docker is used frequently for web app/shiny cloud deployments, it would be nice to have a minimal recommended docker image that satisfies the mapgl / shiny dependencies like sf,...
Response to #86. There are a bunch of misc. [Air](https://www.tidyverse.org/blog/2025/02/air/) formatting changes in there (sorry!), so here are the pertinent changes for your review: - Convert `layer` argument to `layer_id`...
My assumption was that layer ID would be referred to the same way across functions. However: - [`set_filter`](https://github.com/walkerke/mapgl/blob/main/R/shiny.R#L61), [`clear_layer`](https://github.com/walkerke/mapgl/blob/main/R/shiny.R#L99), and [`move_layer`](https://github.com/walkerke/mapgl/blob/main/R/shiny.R#L298) refer to layer as `layer_id`. - [`set_layout_property`](https://github.com/walkerke/mapgl/blob/main/R/shiny.R#L131), [`set_paint_property`](https://github.com/walkerke/mapgl/blob/main/R/shiny.R#L170), [`set_tooltip`](https://github.com/walkerke/mapgl/blob/main/R/shiny.R#L334),...
The [Allmaps MapLibre plugin](https://github.com/allmaps/allmaps/tree/develop/packages/maplibre#readme) seems like it would be a really handy way to work with georeferenced maps. Here is some more background on the plugin and Allmaps project: >Allmaps...