Learn R Programming

leaflet (version 1.1.0)

expandLimits: Notifies the map of new latitude/longitude of items of interest on the map

Description

Notifies the map of new latitude/longitude of items of interest on the map

Usage

expandLimits(map, lat, lng)

Arguments

map

map object

lat

vector of latitudes

lng

vector of longitudes