changes initial values of max and min coordinates to avoid comparison conflicts
uses zoomToBoundingBox instead of getting bounds zoom manually
removes getBoundsZoom