changeZoom: Change the zoom seting of a ggmap object.

Description Usage Arguments Value

View source: R/getGaoDeMap.R

Description

Take in a ggmap object and set it's zoom(ll,ur coordinate).

Usage

1
changeZoom(map, location, width, height, zoom)

Arguments

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)

Value

A ggmap object.


icejean/gaodemap documentation built on Nov. 4, 2019, 1:53 p.m.