On Dec 10, 3:38 pm, "[email protected]" <paul.lee.
[email protected]> wrote:
> Thanks, I've cobbled something together that does some of what I
> wanted.
>
> The only thing I couldn't get to work was the InfoText window. I did a
> test and managed to
> get the information displayed on screen via a javascript alert box.
> This was not very satisfactory
> as of course it is a modal box, so you have to click on it to remove
> it, and then whenever
> you get close to the Icon marker, the alert box re-appears, preventing
> you from clicking on
> the icon to follow the hyperlink! Argghh!!

You commented out the non-working code, so our debuggers won't see the
problem.

When I make a local copy with this back in:
marker.openInfoWindowHtml(name + '<br>' + address + '<br>Telephone: '
+ tel_no);

I get errors that lead me to believe you are missing the
icon.infoWindowAnchor property
http://code.google.com/apis/maps/documentation/reference.html#GIcon.infoWindowAnchor
which is required on a custom icon if you want to open an infoWindow
on it...

When I fix that, I get infoWindows.

  -- Larry

>
> Cheers!
>
> Paul

--

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