getting coordinates for center of map container