That's got it. Thanks!

So, is the point of being able to specify a color so you can re-use a 
single, neutral-color icon, and apply "tints" to it via the KML when it is 
rendered on a map?

JF





Rossko <ros...@culzean.clara.co.uk> 
Sent by: google-maps-js-api-v3@googlegroups.com
01/17/2013 03:55 PM
Please respond to
google-maps-js-api-v3@googlegroups.com


To
google-maps-js-api-v3@googlegroups.com
cc

Subject
Re: [Google Maps API v3] Map marker color-shift?







Comparing the color of the pins on the left to those on the map shows a 
clear difference between the two.
 
Your KML includes a colour changing element
    <Style id="ORANGE_POINT">
        <IconStyle>
        <color>ff0080ff</color>
        <Icon><href>http://www.....
See
     
https://developers.google.com/kml/documentation/kmlreference#iconstyle
"The color specified in the <color> element of <IconStyle> is blended with 
the color of the <Icon>"
Your <color> will make the Orange icon more Red ...
 
I wouldn't like to say if that colour caste is applied to the 
Maps-generated legend as well, but I'll bet it isn't.  It certainly won't 
be applied if you just show the icon image in a regular webpage.
Just remove the <color> elements from your <IconStyle>s.

-- 
You received this message because you are subscribed to the Google Groups 
"Google Maps JavaScript API v3" group.
To post to this group, send email to google-maps-js-api-v3@googlegroups.com.
To unsubscribe from this group, send email to 
google-maps-js-api-v3+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-maps-js-api-v3?hl=en.

Reply via email to