setEnableCrossPenalties

fun setEnableCrossPenalties(enableCrossPenalties: Boolean, pondType: Planner.PondType = PondType.ALL)

Enables or disables time penalties at intersections (by default time penalties are enabled).

Since

v2.5.0 Creation

Parameters

enableCrossPenalties

The enable / disable parameter

pondType

Defines if enable / disable applies to route ETA or to route calculation or both