GWT v3, click on a map opens new browser window/tab?

15 views
Skip to first unread message

Fabio

unread,
Sep 28, 2011, 1:01:33 PM9/28/11
to google-map...@googlegroups.com
Hi,

I think this should be easy but I have not found the way to do it.

We have an online app where people register.
On their profile, a little map (280px) is shown, read only (nav controls disabled)
for other members.

We'd like that if a user clicks on the map, a new browser window opens
redirecting the user to a new window showing the map as a normal google map browser window,
the same behaviour as when clicking on the "Google" text in the map.

thank you

Fabio

unread,
Sep 28, 2011, 3:13:19 PM9/28/11
to google-map...@googlegroups.com
I added a custom click handler to the map, which essentially does a
Window.open("http://maps.google.com?ll=[latitude],[longitude]&z=15","title","");
Reply all
Reply to author
Forward
0 new messages