Description Usage Arguments Value
Take in a ggmap object and set it's zoom(ll,ur coordinate).
1 | changeZoom(map, location, width, height, zoom)
|
map |
ggmap object to change zoom |
location |
a vector a or matrix contains longtitude and latitude of the center of the map. |
width |
width of the map |
height |
height of the map |
zoom |
map zoom, an integer from 3 (continent) to 21 (building), default value 10 (city) |
A ggmap object.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.