Marcelo & Rossko,
Thanks for your replies. I got rid of the error in the Firefox console
that Marcelo pointed out. But the original problem still persisted. I
looked at the XML file & icon images. They were online as Rossko
suggested. Then I noticed that my XML file name was inconsistent. In
the source code , I had it as:
GDownloadUrl("xml/testxml/coordinates5.xml", function(doc) // I used
the lower case "c" in coordinates5.xml
But the file itself was named Coordinates5.xml. (Upper case "C" in
this instance). Anyway, I changed "Coordinates5.xml" to
"coordinates5.xml". The sidebar entries work now. But, except for the
default marker shadows, the icon image itself doesn't appear.
I'm calling/initializing the custom images starting from line 112
using for example: gicons["tourism"] = new GIcon
(G_DEFAULT_ICON,"icons/camera.png").
I did look here
http://code.google.com/apis/maps/documentation/reference.html#GIcon.
I'm guessing it has something to do with G_DEFAULT_ICON . I'm still
confused why the custom icons appear when run locally on my laptop but
disappear online. Any thoughts? Thanks.
--
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=.