Google Map event bounds_changed triggered multiple times when dragging

I have a google map with markers. I want my markers to be refreshed when the map is moved/zoomed...

Google recommend to use the event bounds_changed for that, but when I move the map, the event is triggered for each pixel that I move the map. I want the map to be refreshed only when the user stopped moving the map, i.e. when he released the mouse button after dragging.

How can I do that ?



It turns out it was a reported bug:

The Google team recommend to use the event "idle". For example :

google.maps.event.addListener(map, 'idle', function() {

Need Your Help

Script without jquery ui

javascript jquery wordpress jquery-ui

I have make a script for make columns the same height. This is my script:

How do I insert data into remote MongoDB in meteorjs? How do I know if I'm connected to the remote MongoDB?

mongodb meteor amazon-ec2

I'm a newbie in MongoDB and MeteorJS. I'm trying connect my meteor app to a remote mongodb. I have a mongodb setup on ec2. Here's my mongod.conf:

About UNIX Resources Network

Original, collect and organize Developers related documents, information and materials, contains jQuery, Html, CSS, MySQL, .NET, ASP.NET, SQL, objective-c, iPhone, Ruby on Rails, C, SQL Server, Ruby, Arrays, Regex, ASP.NET MVC, WPF, XML, Ajax, DataBase, and so on.