Hi Sebastian,

It sounds like your question is related more to the Google Maps API
and there is actually a dedicated group just for that:

http://groups.google.com/group/Google-Maps-API

I imagine you'd be able to get an answer more quickly over there.
Sorry to give you a redirect ;-)

Cheers,

Jeff

On Apr 26, 8:48 am, Sebastian de comocomo <[email protected]>
wrote:
> Hi,
>
> I have 8 markers, and I added 1 extra called targetIcon.
>
> When I click the markers they open their infowindows.
>
> I want an external link that will open the infowindow for the targetIcon.
>
> I tried this, but it doesn¹t work, what am I doing wrong?
>
> <a href="javascript:myclick();">show Targer</a>
> ...
> var targetIcon = new GIcon(); targetIcon.iconSize = new GSize(43, 10);
> targetIcon.iconAnchor = new GPoint(21,5); targetIcon.infoWindowAnchor = new
> GPoint(9,5); var targetIcon = new GIcon(targetIcon); targetIcon.image =
> "images/maps/targetIcon.png"; var marker = new GMarker(center, targetIcon);
> markerOptions = { icon:targetIcon }; map.addOverlay(new GMarker(center,
> markerOptions));
> marker.openInfoWindowHtml("This is the TARGET");
>
> --
> You received this message because you are subscribed to the Google Groups 
> "Google AJAX APIs" 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 
> athttp://groups.google.com/group/google-ajax-search-api?hl=en.

-- 
You received this message because you are subscribed to the Google Groups 
"Google AJAX APIs" 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-ajax-search-api?hl=en.

Reply via email to