1

I'm having an issue with Google maps Places. The places drop on the map each time I drag or zoom out on the map. Please see this here: http://www.jupixcreative.com/dev/places/search_results_map.php

Obviously I only want the places to drop when you load the map, and not every time you move or zoom the map.

Any help would be much appreciated.

Cheers.

aboother
  • 11
  • 1

1 Answers1

0

Set a timeout for your markers in a for loop.

To set a timeout for one, just do the following

  marker.setAnimation(google.maps.Animation.BOUNCE);
  setTimeout(function(){ marker.setAnimation(null); }, 750);  //time it takes for one bounce   

Source

just add a loop and you should be sorted.

Community
  • 1
  • 1
Rachel Gallen
  • 27,943
  • 21
  • 72
  • 81