getCenter method

LngLat getCenter()

Returns the map's geographical centerpoint.

@memberof MapboxMap# @returns The map's geographical centerpoint.

Implementation

LngLat getCenter() => LngLat.fromJsObject(jsObject.getCenter());