We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Thanks a lot for the package. I am trying with
map<-leaflet()%>% addControlGPS(options = gpsOptions(position = "topleft", activate = T, autoCenter = T, maxZoom = 10, setView = F))
activateGPS(map)
but in the resulting map, on the crosshair button it tells me
Geolocation error. User denied geolocation prompt
Thank you
The text was updated successfully, but these errors were encountered:
It seems to work in Shiny but not in RStudio..
library(shiny) library(leaflet) library(leaflet.extras) ui <- fluidPage(leafletOutput("map")) server <- function(input, output, session) { output$map <- renderLeaflet({ leaflet() %>% addTiles() %>% addControlGPS(options = gpsOptions(position = "topleft", activate = T, autoCenter = T, maxZoom = 10, setView = F)) %>% activateGPS() }) } shinyApp(ui, server)
Sorry, something went wrong.
@bonushenricus Do you wanna open a bug report at rstudio? There is nothing I can do about that bug.
No branches or pull requests
Thanks a lot for the package.
I am trying with
map<-leaflet()%>% addControlGPS(options = gpsOptions(position = "topleft", activate = T, autoCenter = T, maxZoom = 10, setView = F))
activateGPS(map)
but in the resulting map, on the crosshair button it tells me
Thank you
The text was updated successfully, but these errors were encountered: