gmmap with zoom=1 not displaying

前端 未结 2 847
予麋鹿
予麋鹿 2020-12-22 02:53

I am trying to plot a world map using zoom=1 in the code below and it is not displaying, but when I put any other zoom number (for example 4) it is working perf

相关标签:
2条回答
  • 2020-12-22 03:36

    according to the documentation here http://cran.r-project.org/web/packages/ggmap/ggmap.pdf

    "Map zoom, an integer from 3 (continent) to 21 (building), default value 10 (city).Openstreetmaps limits a zoom of 18, and the limit on stamen maps depends on the maptype. ’auto’ automatically determines the zoom for bounding box specifications, and is defaulted to 10 with center/zoom specifications. Maps of the whole world currently not supported."

    0 讨论(0)
  • 2020-12-22 04:00

    For a little more flexibility on zooming, check out the leaflet package. It is possible to do full-world maps with that package.

    0 讨论(0)
提交回复
热议问题