Learn R Programming

leaflet (version 2.0.1)

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