rr-mapview

Mapview Points Not Showing in R


When I try to load points in Mapview, the base map will appear centered on the right location but the points do not appear. Below is an image of what it looks like when I attempt to view the pre-loaded Breweries data set. Any ideas are greatly appreciated!

library(mapview)

mapview(breweries)

CartoDB.positron basemap centered on Würzburg/Nuremberg but no brewery points:

enter image description here


Solution

  • Maybe your image is not interactive? In that case you should be able to still see the points (but no changes upon mouse-over) when you run:

    library(mapview)
    mapviewOptions(fgb = FALSE)
    mapview(breweries)