fitBBox: Set Bounds of a Map Widget

View source: R/leaflet.R

fitBBoxR Documentation

Set Bounds of a Map Widget

Description

Helper function to set the bounds of a leaflet map widget.

Usage

fitBBox(map, bbox)

Arguments

map

a map widget object created from leaflet()

bbox

A vector c(lng1, lat1, lng2, lat2) specifying the bounding box coordinates

Value

The modified map widget.

Author(s)

Andrzej Oleś andrzej.oles@gmail.com


openrouteservice documentation built on Oct. 21, 2024, 9:06 a.m.