Hello, I would like to know if anyone has any idea how to return a GLOBAL event from anything done on the map to be interpreted with CASE! Here's how I use them today.
google.maps.event.addListener (map, " click ", function (event) {
In case I did not want to define the CLICK example, but to analyze later, something like:
google.maps.event.addListener (map, function (event) {
Then, in CASE, I will analyze the event that came to deal with CASE and BREAK because I use 3 events on the map, and when the 3 are executed simultaneously it ends up getting 3 information on the map and it is overloading when it joins a lot of information.
If anyone knows of any method then I have tried everything and I still have not got it.
Thank you in advance.