Skip to main content

All Questions

Tagged with
0 votes
0 answers
50 views

Why are my leaflet points stuck to the map edge?

I try to plot transit stops on a leaflet map, indicating local clustering ("LISA"), based on Moran's I. The map is embedded in an R markdown file. I've successfully done that with polygon ...
fluegelrad's user avatar
0 votes
0 answers
86 views

Multipage flexdashboard leaflet map issues

I have created a multipage flexdashboard app (.Rmd) in R using shiny runtime. One of the pages is a leaflet map with a large polygon layer. The map initially draws as it should but after I browse ...
jaykay's user avatar
  • 85
0 votes
1 answer
1k views

How to include a leaflet map (html widget) into a Word or PowerPoint document?

I teach Leaflet to my students to map and analyze spatial data. I would like them to present some of their work in PowerPoint, Word, and/or PDF while maintaining the interactive features of the ...
Max's user avatar
  • 13
0 votes
2 answers
277 views

How to change css in rmarkdown cell & shiny?

I am relatively new in r and creating leaflet plot for which I need a white background instead of grey. I came across this SO post for same: blank, white background for leaflet map & tried: Plot ...
ViSa's user avatar
  • 1,701
0 votes
0 answers
88 views

How to change color of leaflet map around the polygon shape in r? [duplicate]

I am using a shape file in leaflet plot & would like to have white color space external to the outer boundary of polygon shape instead of default greyish color background like color but unable to ...
ViSa's user avatar
  • 1,701
0 votes
0 answers
219 views

Embedded Shiny Error in R Markdown : object params not found

I am attempting to embed a choropleth graph using leaflet & shiny within a R Markdown document. The code worked fine as a chunk, but produces an error when ran altogether. Everything else in the R ...
Amara Alexander's user avatar
0 votes
1 answer
42 views

Mapping San Antonio City Park boundaries

I'm trying to create an interactive Markdown webpage in R-studio. I need to use the leaflet package to complete this assignment. I want my map to display polygon shapes that display park boundaries in ...
Brock J's user avatar
0 votes
1 answer
556 views

For Leaflet in R, can you add a button that adds and removes polygons for each map layer?

If we just take a standard leaflet map like the one below: library(leaflet) library(maps) mapStates = map("state", fill = TRUE, plot = FALSE) leaflet(data = mapStates) %>% addTiles() %&...
Christian's user avatar
  • 139
0 votes
1 answer
128 views

Error message in my R-markdown file (post-knit)

I'm using a markdown file to build a leaflet map in R, and after I've knitted my document, I get this error message in my rmd file: ## although coordinates are longitude/latitude, st_union assumes ...
Hibyetree's user avatar
0 votes
0 answers
584 views

Static leaflet map markers cut off when knit to PDF in R markdown

I am trying to produce a static map via the leaflet package so I can knit it to a PDF using markdown but the circle markers on the map keep getting cut off and I can't for the life of me figure out ...
Oscar Henry's user avatar
1 vote
1 answer
188 views

Browser inconsistency with the leaflet::addMapPane() function

I have a problem integrating leaflet maps in my blogdown website whenever using the addMapPane() function to create different panes. The problem is that, when using Safari, everything works fine, but ...
J.P. Le Cavalier's user avatar
1 vote
0 answers
107 views

Leaflet not generating properly in dynamic R markdown document

I have asked this question before here. Initially the focus was on a point map, which the answer fixed. However looking at clustered and heatmaps, the issue persists. Point generates fine (fixed via ...
Jonathan West's user avatar
5 votes
2 answers
3k views

Leaflet not rendering in dynamically generated R markdown html knitr

I've created a R markdown report where the sections and tabsets are dynamically created. I have an issue where the Leaflet maps are not being generated in the output, but rather a blank white space. ...
Jonathan West's user avatar
0 votes
1 answer
1k views

How to fix distorted interactive popup of ggplot figure in leaflet map

Need help/advice on fixing distortion with the popup plots in html file. Changing the shape/size options within leaflet don't help. I suppose making this a ShinyApp might work better, but I prefer to ...
Matt L.'s user avatar
  • 2,883
0 votes
1 answer
766 views

Flexdashboard not loading when using Leaflet

I have recently discovered the leaflet package and Flexdashboard and have no troubles using them separately. However when I try to integrate a leaflet map into my Flexdashboard, nothing happens when I ...
PHNM's user avatar
  • 25

15 30 50 per page