Trying to center the map according to the centroid of the polygon.