Tuesday, October 5, 2010

[Google Maps API v2] Re: Map in a PopUp - strange drag issue

On Oct 5, 9:33 am, byron <byron.sta...@pixell.de> wrote:
>
> But now, when you try to navigate in the map by dragging, nothing
> happens. The map seems to recognize the click. But it still keeps in
> drag mode without navigating. The only way to navigate is by click on
> the map and then move the mouse over the parent window.

I think the issue is that you load the API into the parent document,
and that is where the basic event handlers are registered. If you want
a map in a child window, you need to load the API into that window;
you can't expect fairly complex objects to be transferable between
windows. In fact I'm amazed it works as well as it does.

--
You received this message because you are subscribed to the Google Groups "Google Maps API V2" group.
To post to this group, send email to google-maps-api@googlegroups.com.
To unsubscribe from this group, send email to google-maps-api+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-maps-api?hl=en.

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate