WorldWindAndroid
WorldWindAndroid copied to clipboard
Polyline with buffer
Display of a 3D polyline with a buffer indicating a width on either side of the path. From the COE requirements document:
- Line shall support an optional buffer attribute specified in meters that will create a polygon around the line extending from the center of each line segment the provided buffer distance.
- Buffer shall support separate fill color from line so that the buffer can be displayed is a color different than the line
- Buffer shall support a separate alpha value from the line alpha so that the buffer can be set to a be less opaque than the line
- Buffer for 50 meters would create a line that is 100 meters wide split down the center with the lines coordinates. The connection points for the outside buffered shape at each line vertex should connect smoothly with no gaps and maintain the appropriate distance from the center at all times.