IARoutingLeg.fromMap constructor

IARoutingLeg.fromMap(
  1. Map map
)

Implementation

IARoutingLeg.fromMap(Map map)
    : begin = IARoutingPoint.fromMap(map['begin']),
      end = IARoutingPoint.fromMap(map['end']),
      direction = map['direction'],
      length = map['length'],
      edgeIndex = map['edgeIndex'];