On Apr 6, 4:26 pm, "[email protected]" <[email protected]> wrote: > On Apr 6, 3:06 pm, Peter <[email protected]> wrote: > > > So bit by bit I am learning and improving, but we have stumbled upon > > our next problem. > > > So I have been looking at econyms guide (http://econym.org.uk/gmap/ > > basic16.html) and thought I had done everything I needed for a > > change. > > > My example ishttp://proaccessconsultants.com/testmap/testmap.html > > and my xml ishttp://proaccessconsultants.com/testmap/exampleTabbed.xml > > > I am sure it is something blindingly obvious, but your assistance a > > great help in my learning. Thanks so much in advance. > > var icon = markers[i].getAttribute("icontype"); > > icon is a string. You need to pass a GIcon to your createMarker > function (or translate it to a GIcon there). > > You have an array of GIcons all set to do the translation. > > gicons[icon] would be a GIcon (assuming that the icontype is a valid > member of the array).
The other problem you will have is that the images for the icons don't seem to be there: http://proaccessconsultants.com/colour086.png http://proaccessconsultants.com/colour108.png http://proaccessconsultants.com/colour125.png -- Larry --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
