Avoiding road classes and environments

It seemed logical since its under priority in flex!
Just a guess but try road_environment instead of toll, and set to 0.

tollHashMap.put(“toll”, 0);

model.getPriority().put(“road_enviroment”, tollHashMap);

Indicated on an earlier version blog post, perhaps it hasn’t changed?

On my phone so can’t test, can do more tests tomorrow

1 Like