SpeedProfile
open class SpeedProfile(val mainPond: Double = 1.0, val secondaryPond: Double = 1.0, val thirdPond: Double = 1.0, val fourthPond: Double = 0.75, val mainPondETA: Double = mainPond, val secondaryPondETA: Double = secondaryPond, val thirdPondETA: Double = thirdPond, val fourthPondETA: Double = fourthPond)
Default SpeedProfile
Unless specified, ETA ponderations will automatically use the route calculation value.
Parameters
mainPond
Speed ponderation for the main road network level, apply only to route calculation
secondaryPond
Speed ponderation for the second road network level, apply only to route calculation
thirdPond
Speed ponderation for the third road network level, apply only to route calculation
fourthPond
Speed ponderation for the fourth road network level, apply only to route calculation
mainPondETA
Speed ponderation for the main road network level, apply only to route ETA
secondaryPondETA
Speed ponderation for the second road network level, apply only to route ETA
thirdPondETA
Speed ponderation for the third road network level, apply only to route ETA
fourthPondETA
Speed ponderation for the fourth road network level, apply only to route ETA