Reputation: 5202
I want to draw some lines that would follow either the longitude or latitude, but it doesn't take the globe's curvature in account.
How would I go about doing that? I'm using KML.
Upvotes: 3
Views: 1800
Reputation: 133
You should try to break the line up with many vertices, so each one has an altitude. See here
Upvotes: 1
Reputation: 17039
In KML if you mean you want the line to clamp to the ground then you would set 'altitudeModeEnum' to 'clampToGround' and testate to 1 (true. Like so.
<LineString id="myLine">
<tessellate>1</tessellate>
<altitudeMode>clampToGround</altitudeMode>
</LineString>
Upvotes: 2