The Lane Planner is initialized with an existing map handle and an upper limit for the distance of the resulting lane plan:
The maxPlanLenghtMeters argument is used to estimate the required buffer sizes to be allocated.
In addition, a Lane Plan must be created for the result of the lane planner: