References

⇠ Go Back

panTo

panTo(position)

Smoothly move the map to a given position.

Parameters

position - Object

The position to be the center of the map.