simplifies the way we obtain the center of the map
wip: adds zoom level option