On Feb 18, 5:41 pm, Ash <[email protected]> wrote:
>
> Please advise
I advise trying it in Firefox! Your function readXml is not defined.
Why not use the browser-independent GXml methods?
Your error on line 24 is because markers[20] has no lat or lng
attributes. IE evaluates parseFloat("") as NaN, which produces an
invalid GLatLng and an invalid marker. Firefox would put that marker
at (0,0).
The marker-click problem I think is because an icon property is not
defined. Not sure what it is, but try changing
var baseIcon = new GIcon();
to
var baseIcon = new GIcon(G_DEFAULT_ICON);
because that supplies lots of properties which are not there if you
don't copy that icon.
Your HTML is invalid: your <body> tag is in the wrong place. That
could cause problems when trying to reference elements because they
could be in the wrong place in the DOM.
Andrew
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---