On Mar 3, 4:12 pm, StarTraX wrote:
> Try
> <styleUrl>#sn_ylw-pushpin0</styleUrl>
> <MultiGeometry>
> <LineString>
> <tessellate>1</tessellate>
> <altitudeMode>clampToGround</altitudeMode>
> <coordinates>
> tesselate causes the LinString to follow the terrain.
Thanks much for the advice. I just tried it and did not have any
luck.
See my simplified test case at
http://ontimezone.com/linetest.kml
(code also pasted at the bottom of this post). Zoom in to 35.95, -111
and you can see the line start to disappear.
I have no doubt that through ignorance I am missing something simple,
and will be very grateful to be set on the right path.
Cheers,
Steve Jones
PS: The code:
<?xml version="1.0" encoding="UTF-8"?>
<kml xmlns="
http://www.opengis.net/kml/2.2" xmlns:gx="http://
www.google.com/kml/ext/2.2" xmlns:kml="
http://www.opengis.net/kml/2.2"
xmlns:atom="
http://www.w3.org/2005/Atom">
<Document>
<name>linetest.kml</name><open>1</open>
<Style id="thisline">
<LineStyle><color>ff0000ff</color><width>3</width></LineStyle>
</Style>
<Placemark><name>a line in the desert</name><styleUrl>#thisline</
styleUrl>
<MultiGeometry>
<tesselate>1</tesselate>
<altitudeMode>clampToGround</altitudeMode>
<LineString><coordinates>-111,36.28 -111,35.55 -111,36.28</
coordinates></LineString>
</MultiGeometry>
</Placemark>
</Document>
</kml>