ElevationTargetFactory
public class ElevationTargetFactory
extension ElevationTargetFactory: NativeBase
extension ElevationTargetFactory: Hashable
Factory for creating ElevationTarget instances.
Note: This is a beta release of this feature and may contain bugs or exhibit unexpected behaviour. Related APIs are subject to change without a deprecation process.
-
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.
Declaration
Swift
public static func roadTarget() -> ElevationTargetReturn Value
ElevationTarget instance.