Added API to get center of the map