I have been trying to set up my site to use two different color
markers, the blue marker that I'm using and a red one
var iconRed = new GIcon();
iconRed.image = 'http://labs.google.com/ridefinder/images/
mm_20_red.png';
iconRed.shadow = 'http://labs.google.com/ridefinder/images/
mm_20_shadow.png';
iconRed.iconSize = new GSize(12, 20);
iconRed.shadowSize = new GSize(22, 20);
iconRed.iconAnchor = new GPoint(6, 20);
iconRed.infoWindowAnchor = new GPoint(5, 1);
I tried using Mike's example #16 Associative arrays and custom
icons, But I could not get it to work with the file I'm using, The
file is set up the same as in Mike's Part 37 Using pseudo-HTML data
files for maxContent. which works great, and what I would like to add
is something like-
var icontype = parts [5] and set the marker from there using"blue" or
"red". here's a link
http://www.conneroutdoors.com/alabama.html
Also following Pamela's example for max content is there a way to use
the "label" which is part 0 also for the maxtitle ? thanks Pete
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---