expandLimitsBbox: Same as expandLimits, but takes a polygon (that presumably...

View source: R/layers.R

expandLimitsBboxR Documentation

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

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.


leaflet documentation built on May 29, 2024, 1:19 a.m.