-
Notifications
You must be signed in to change notification settings - Fork 5
Description
Currently, when specifying elevation as a HeightAboveTerrain, Polylines adjust the vertical coordinate of each point to be correctly positioned above the terrain as it streams in. However, line segments are drawn as straight lines between these points, so may intersect terrain.
Consider introducing some form of terrain draping for Polyline line segments, not just Polyline vertices.
It might be acceptable to add an api point to allow developer to indicate that each Polyline segment should be subdivided into N sub-segments, allowing terrain height lookup to be performed at each subdivided vertex.
eg add method to:
https://github.com/wrld3d/android-api/blob/63ce6eb24cef355acc0cff5d53fced3e9bf815c1/sdk/src/main/java/com/eegeo/mapapi/polylines/PolylineOptions.java