> I'm trying to personalize Nate's code to have different marker types
> depending on type.
> I cannot understand the use of iconcolor, iconnum, iconsize in
> newMarker function
> function newMarker(location, html, iconcolor, iconnum, iconsize)

That's what happens when you blindly copy code.
This looks like a useful line to figure out -
    customicon.image = window.sharedFilesURL + 'markers/' + iconsize
+'/'+ iconcolor +'/'+ iconnum +'.png';

iconcolor, iconnum, iconsize are strings used to index into a library
of icon images in png format.

Your own image library would probably have different naming
conventions, so you'd adapt that line to do what you need.

There's some other things going to adjust sizing too, you may or may
not need that, who knows.

A generalised approach is offered here -
http://econym.org.uk/gmap/basic16.htm

--~--~---------~--~----~------------~-------~--~----~
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