Learn R Programming

RgoogleMaps (version 1.0)

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))

Arguments

latrange
range of latitude values
lonrange
range of longitude values
size
size of the map tile, defaults to 640x640

Value

  • zoom level