setViewBounds-methods: Set bounds of a leaflet map

setViewBoundsR Documentation

Set bounds of a leaflet map

Description

Based on the bounding box of an object you supply.

Usage

setViewBounds(map, obj, ...)

## S4 method for signature 'leaflet,list'
setViewBounds(map, obj, ...)

## S4 method for signature 'leaflet,sfc'
setViewBounds(map, obj, ...)

## S4 method for signature 'leaflet,sf'
setViewBounds(map, obj, ...)

## S4 method for signature 'leaflet,Spatial'
setViewBounds(map, obj, ...)

Arguments

map

leaflet map object

obj

sf or Spatial object, or a named list or vector


BAAQMD/lltools documentation built on June 28, 2022, 12:31 a.m.