added setView to zoom and pan