roadTarget static method
Creates an elevation target for road-surface placement.
The geometry will be placed at road's elevation only if elevation data is available and the geometry coordinates are within the road area, otherwise altitude from a ground level elevation will be used.
When there's a number of overlapping roads, the geometry will be placed on the top most road with the highest elevation.
Returns ElevationTarget. ElevationTarget instance.
Implementation
static ElevationTarget roadTarget() => $prototype.roadTarget();