Under MapEvent in the API Reference Documentation (http:// code.google.com/apis/maps/documentation/flash/reference.html#MapEvent) it states, "A MapEvent object is dispatched into the event flow whenever map-specific events occur. Map events may be dispatched by the map object itself or its elements (i.e. overlays/infowindows etc). "
The question I have is, is there a way of distinguishing between a MapMoveEvent.MOVE_END that originates from the map object itself and a MapMoveEvent.MOVE_END that originates from its elements (in my case an infowindow)? Or another way to state the same question that may be more simple to understand, is there a way to distinguish between a user initiated move event and a map element(infowindow opening) initiated move event? Another question that falls nearly into the same category...I unfortunately have to make a call to map.clearOverlays() sometimes while an infowindow is open. Obviously the result is that the method call closes the infowindow (infowindow_closed event is executed). Is there a way of identifying what initiated the close event...the user or a programmatic call to map.clearoverlays()? --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google Maps API For Flash" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/google-maps-api-for-flash?hl=en -~----------~----~----~----~------~----~------~--~---
