Skip to content

Polylines draping on terrain #7

@jonty-dawson

Description

@jonty-dawson

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions