ease_to function

Ease to a given view

Ease to a given view

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.

Returns

The updated map object.

  • Maintainer: Kyle Walker
  • License: MIT + file LICENSE
  • Last published: 2025-03-18