Learn R Programming

openrouteservice (version 0.6.2)

fitBBox: Set Bounds of a Map Widget

Description

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

Usage

fitBBox(map, bbox)

Value

The modified map widget.

Arguments

map

a map widget object created from leaflet()

bbox

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

Author

Andrzej Oleś andrzej.oles@gmail.com