leaflet
leaflet copied to clipboard
R Interface to Leaflet Maps
I am using tiles with `addProviderTiles` and to display a city map below my polygon map. I would like to mask off the part of the map outside of the...
Could probably be done by upgrading all js packages to the latest version / names. (ex: `babel` has adopted the `@babel/module` setup) * Make sure js builds * Make sure...
Using pal and values arguments adds NA to legend. ``` library(leaflet) df
When clicking on a shape both a `map_shape_click `and a `map_click ` event are fired. I.e. the click is not consumed by the `map_shape_click`. I would expect the click event...
For example, ```r library(plotly) library(leaflet) library(sf) nc % st_read() %>% st_transform(4326) %>% highlight_key() map % addTiles() %>% addPolygons( opacity = 1, color = 'white', weight = .25, fillOpacity = .5,...
This continues work from #281. The idea is to have leaflet respond to plotly's "advanced" crosstalk selection options (e.g., [dynamically altering selection colour and persistent selection](https://cpsievert.github.io/plotly_book/images/plotlyLeaflet.gif)) I'd still consider this...
I missed documentation on the function `addSimpleGraticule()` in the documentation (the online 'tutorial' for using leaflet in R). I added a small section on this function in the file `morefeatures.rmd`...
Regarding to https://github.com/rstudio/revealjs/pull/57 , CSS in some frameworks possibly cause messy results on leaflet tiles. This PR fixes it. Here is an example messy result with revealjs (see reprex section...
I have added three new methods that allow for style changes of already rendered choropleths and circlemarkers. Its usage is typically with leafletproxy in shiny and is a fix for...