Stamen map not rendered in shiny -> receiving blank image
- Dominant language
- R
- Stars
- 778
- Forks
- 234
- PR merge metrics
- No merged PRs in 30d
Description
I try to build some simple stamenmaps with ggmap in R-Shiny. I can't seem to get the map rendered. I only receive a blank image. The the simple example attached below:
```r
library(ggmap)
library(shiny)
server <- function(input, output) {
map_ren <- renderPlot(get_stamenmap(
bbox = c(
left = 10,
bottom = 30,
right = 42,
top = 34),
maptype = "terrain",
zoom = 3,
force = TRUE
), width = 1000, height = 1000)
output$map <- map_ren
}
ui <- fluidPage(
plotOutput('map', width = 1000, height = 1000)
)
shinyApp(ui, server)
}, si = TRUE)
```
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by running the minimal ggmap and Shiny example from the issue, focusing on get_stamenmap and renderPlot. Confirm the failure and isolate whether the blank output comes from map retrieval or Shiny rendering; done means the Stamen terrain map appears in the plot output.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- r
- Domain
- data-visualization
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100