On Oct 17, 3:39 pm, Gil <[EMAIL PROTECTED]> wrote: > Thank You > OK, removed the extra " from both lines of code and the map is now > loading. I only have one var point for a icon marker and info- > windows, and the icon marker is not coming up. Something is wrong in > my coding of the var point coding, possible having to do with how I'm > nameing the color of the marker?
> icon.image = "http://www.tiltonrealty.com/Markers/\"red\"+ MarkerA +\".png"; Yes. What is "MarkerA" supposed to be? It looks like (from looking in the http://www.tiltonrealty.com/Markers/ directory) you want this marker: http://www.tiltonrealty.com/Markers/red_MarkerA.png In which case the line above should be icon.image = "http://www.tiltonrealty.com/Markers/"+iconColor +"_MarkerA.png"; where the "red" would be supplied by the argument passed to the function. > > On Oct 17, 3:16 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> > wrote: > > > On Oct 17, 2:47 pm, Gil <[EMAIL PROTECTED]> wrote:> Map still will not > > load. I notice that I have 2 lines of code that > > > are the same for icon.image = in 2 places, if that could be the > > > problem although I've tried to remove each at different times with no > > > success. > > > This is one problem: > > icon.image = "http://www.tiltonrealty.com/Markers/\"red\"+ MarkerA + > > \".png""; > > > each line like the above has an extra " at the end of it... > > > -- Larry > > > > On Oct 17, 1:49 pm, Ralph Ames <[EMAIL PROTECTED]> wrote: > > > > > >but the map itself won't load. I > > > > >can't find the error to make the map load. Please help. > > > > >http://www.tiltonrealty.com/Test-Gil-Markers-02.html > > > > > Use this > > > > icon.image = "http://www.tiltonrealty.com/Markers/\"red\"+ MarkerA > > > > +\".png\""; > > > > > remove this > > > > var text = "<div style=\"white-space:nowrap;\"><div align=\"center\" > > > > class=\"smalltext\">"+html +"</div></div>"; > > > > > Ralph- Hide quoted text - > > > - Show quoted text - --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
