Learn R Programming

RgoogleMaps (version 1.5.1)

MaxZoom: computes the maximum zoom level which will contain the given lat/lon range

Description

computes the maximum zoom level which will contain the given lat/lon range

Usage

MaxZoom(latrange, lonrange, size = c(640, 640))

Value

zoom level

Arguments

latrange

range of latitude values

lonrange

range of longitude values

size

desired size of the map tile image. defaults to maximum size returned by the Gogle server, which is 640x640 pixels

Author

Markus Loecher