On Oct 22, 12:09 pm, Booie <[email protected]> wrote:
> Hello Everybody, I seem to have this problem only in my flex map.  I'm
> not sure if this is just a limitation of flash embedded objects or if
> there is, in fact, a solution.
>
> Essentially I do a normal drag by holding the left mouse down.   As I
> exit the flash embed however, the dragging stops functioning. Now
> without holding the left mouse button down, I reenter the embedded
> area, and the map begins moving again (even though I'm not holding the
> mouse down).  The only way to stop this is to click.  This isn't the
> same behavior as the JS api.
>
> Has anyone else experienced a similar issue and if so how can it be
> fixed?  Thanks!

I allowed this through to the Javascript Group because a similar issue
does exist with Javascript maps, so it's probably a browser
limitation.

Specifically, when you release the mousebutton outside the map, the
map doesn't receive the "mouseup" event so it doesn't know to stop
dragging. When the mouse returns to the map, it carries on dragging. A
click forces a mouseup event -- and the mousedown event on making the
click wouldn't do anything if it's already "down" because it's
dragging.

You could ask in the Flash Group as well though:
http://groups.google.com/group/google-maps-api-for-flash/

Andrew
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Maps API" 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?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to