fit_bounds: Fit the map to a bounding box

Description Usage Arguments

View source: R/fit-bounds.R

Description

Fit the map to a bounding box

Usage

1
fit_bounds(map, bounds, ...)

Arguments

map

A mapboxer object.

bounds

The bounding box as a vector in [west, south, east, north] order or a bbox object.

...

Optional arguments, see https://docs.mapbox.com/mapbox-gl-js/api/map/#map#fitbounds.


crazycapivara/mapboxer documentation built on Nov. 13, 2021, 3:22 a.m.