map

map.getCenter

getCenter(): GeoPosition

Return the geographic position at the center of the viewport, or null.

Uses MapCoordinateProvider.screenCenterToLatLng() which reads the cloudScene position to determine what lat/lng is at the screen center.

Returns: GeoPosition