References

⇠ Go Back

setCenter

setCenter(position)

Set the center point of the map.

Parameters

position - Object|Array

The position on the map to be the center point.