expandLimitsBbox: Notifies the map of polygons of interest on the map

View source: R/layers.R

expandLimitsBboxR Documentation

Notifies the map of polygons of interest on the map

Description

Same as expandLimits(), but takes a polygon (that presumably has a bbox attr) rather than lat/lng.

Usage

expandLimitsBbox(map, poly)

Arguments

map

map object

poly

A spatial object representing a polygon.


rstudio/leaflet documentation built on Aug. 8, 2024, 11:06 a.m.