Is there a way to have a dynamic google map that opens links in _blank?

Posted by danieltalsky on Stack Overflow See other posts from Stack Overflow or by danieltalsky
Published on 2010-06-16T20:58:02Z Indexed on 2010/06/16 21:02 UTC
Read the original article Hit count: 133

Filed under:
|

I came up with a good solution for a client showing a google map iFrame using the normal google maps embed. Only problem? They want the links inside the iFrame to open in a new window instead of there on the page.

So, I used the static API to come up with a static image of a map and have that link to the google maps site with target="_blank".

Great, but they don't get the pretty draggable map.

Is there a way to do what I want using the google maps API? I'm reading the API documentation but without actually trying it I'm not sure if it can be done, and would love it if someone with some experience with the API can point me in the right direction or just tell me why it's WAY not worth the effort.

© Stack Overflow or respective owner

Related posts about JavaScript

Related posts about google-maps