auto zoom and auto pan the map