On Dec 1, 10:53 am, Milcoi <[EMAIL PROTECTED]> wrote:
> Hello,
>
> in my script I have this script to search my database for different
> color markers:
>
>  function coloredRideshareIcon(iconColor) {
>          var color;
>          if ((typeof(iconColor)=="undefined") || (iconColor==null)) {
>       color = "red"
>          } else {
>       color = iconColor;
>          }
>          if (!icons[iconColor]) {
>       var icon = new GIcon(baseIcon);
>       icon.image = "http://www.modelbouwlocaties.nl/"+ color +".png";
>       icons[iconColor]=icon;
>          }
>          return icons[iconColor];
>         }
>
> I like to show only the blue icons but need a little help.

A link to your map would allow us to help by better understanding
where you are.
What exactly is it you trying to do?  If you are only going to show
blue markers _ever_, you don't need the function defined above, you
can just define and use a custom blue icon.

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

Reply via email to