ease_to: Ease to a given view

View source: R/views.R

ease_toR Documentation

Ease to a given view

Description

Ease to a given view

Usage

ease_to(map, center, zoom = NULL, ...)

Arguments

map

A map object created by the mapboxgl or maplibre function or a proxy object.

center

A numeric vector of length 2 specifying the target center of the map (longitude, latitude).

zoom

The target zoom level.

...

Additional named arguments for easing to the view.

Value

The updated map object.


mapgl documentation built on Nov. 1, 2024, 5:08 p.m.