Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Slow down google panTo function

Tags:

I have a map that pans from point to point around a map as markers are dropped on the map. The issue I'm having is that the panning is too fast. Is there any way to slow down the panTo function?

Thanks, Chris

like image 519
Chris Avatar asked Feb 17 '12 20:02

Chris


People also ask

How do you make Google Maps smooth?

If one just sets the zoom on double click, the map is suddenly on that zoom level, without any smooth transition. Zooming in only one level further than the current level, Google Maps shows a nice smooth transition.

How do I change the zoom level on Google Maps?

Users can zoom the map by clicking the zoom controls. They can also zoom and pan by using two-finger movements on the map for touchscreen devices.

How do I control the zoom on Google Maps?

When showing a standard Google map, it comes with the default control set: Zoom - displays a slider or "+/-" buttons to control the zoom level of the map.

How do I pan Google Maps?

To pan around on a map, you can use the arrow keys to move north, south, east and west. You can also press two arrow keys together to move diagonally.


1 Answers

Sadly, no, you cannot change the speed of the panTo animation.

The function only takes a single latlng argument. Details here: http://code.google.com/apis/maps/documentation/javascript/reference.html#Map

like image 144
Allan Wintersieck Avatar answered Oct 14 '22 18:10

Allan Wintersieck