On Monday, March 25, 2013 4:58:13 PM UTC, n babb wrote:
I may be misunderstanding your problem, but it should be easy, in whatever programming language you use to generate your KML, to specify a polygon's polystyle fill color depending on the distance from the point.
If you have, say, 5 distance categories eg < 5km, 5-10, 10-20, 20-50 and >50, have a polystyle for each like
<Style id="Poly_5">
<PolyStyle>
<color>ff0000cc</color>
</PolyStyle>
</Style>
<Style id="Poly_10">
<PolyStyle>
<color>ff0000dd</color>
</PolyStyle>
</Style>
and when you generate the polygon placemark, start with:
<Placemark>
<name>xx</name>
<styleUrl>#Poly_10</styleUrl> or <styleUrl>#Poly_5</styleUrl>
Sorry if I misunderstood you.