Answer the question
In order to leave comments, you need to log in
Why do events in Google Maps work through one place?
Google maps blew my mind.
I will not ask why the handler is put there in a million ways and what is the difference between them.
google.maps.event.addListener(map, event, handler);
google.maps.event.addDomListener(map, event, handler);
map.addListener(event, handler);
map.addListener('bounds_changed', function (e) {
e.something... // undefined!
});
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question