On Oct 17, 5:31 pm, Gil <[EMAIL PROTECTED]> wrote:
> Being afraid the original colored icon markers I was using which were
> on a example map might one day be removed or deleted, I looked for a
> set of made colored markers and found a set of the 10 colors and each
> color has the alpha charactors A to Z, so there are 260 icon markers
> to chose from.  They are shown as red_MarkerA.png and red_MarkerB.png
> etc through the alphabit for each of the 10 colors.  My plan was to
> use MarkerH in a color for Home, MarkerL for where I've lived MarkerW
> for where I've worked and so forth, not needing all the alpha
> charactors, but needing the various colors.
> With your suggested changes, I got the map to load with the colored
> markers in the table or form on the right by // out the second
> icon.image line of code, but still can't get the icon marker to show
> on the map.  The map test is now 
> athttp://www.tiltonrealty.com/Test-Gil-Markers-05.html
> so as not to lose the previous test map.  I tried various ways to show
> the icon in the Var point portion of code, but the marker won't come
> up.  It should show near Kansas City.

On the original test map it was nearer Memphis than Kansas city for
me.
(it was at 35.029996, -90.527344)

You need to understand how the icon code works to make the kind of
changes you are making.  You probably want to make the whole
red_MarkerA the "iconColor" that is passed into the function.
Then construct the url like this:
http://www.tiltonrealty.com/Markers/"+iconColor+".png";;
  -- Larry

> This is where I got the pre-made markers.
> Default set of Google Map markers in 10 different 
> colours:http://www.benjaminkeen.com/?p=105
>
> Thanks, Gil
>
> On Oct 17, 3:45 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]>
> wrote:
>
> > 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 thehttp://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 -- 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
-~----------~----~----~----~------~----~------~--~---

Reply via email to