How To Execute Google Maps Event "bounds_changed" Only Once
How do I tell the google map event 'bounds_change' to only work when the map is initially loaded, and not after user change?
Solution 1:
addListenerOnce(instance:Object, eventName:string, handler:function(?)) Return Value: MapsEventListener Like addListener, but the handler removes itself after handling the first event.
google.maps.event.addListenerOnce(map,'bounds_changed', function() {});
Post a Comment for "How To Execute Google Maps Event "bounds_changed" Only Once"