Daryll Doyle WordPress Development and Consultancy

CategoryJavaScript

Google Maps Smooth Zoom

G

I was working on a project this week that required me to zoom in to a marker on a Google map. That’s easy, I thought, there must be a method for doing that within the V3 API. I was wrong. Apparently Google are fine with adding a panTo() method for smoothly panning to a marker, but the setZoom() method re-draws the map canvas and jumps straight to the zoom level you set.“ There are a...

Daryll Doyle WordPress Development and Consultancy