How to get center coordinates of Mapview

In Google maps Javascript API you can get the center of the map view with map.getCenter().
How can I achieve the same with Expo Mapview? What I need is to get the coordinates for the maps center.

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.

The above is outdated, since this is appearing high in search results: the current way to do this is to use MapView’s getCamera method which returns an object which, among other things, returns:

center: {
       latitude: number,
       longitude: number,