Pedestrial Route with avoidAreas over only pathway problem

Paul Day 0 Reputation points
2025-05-01T01:26:10.96+00:00

I am using the Azure Maps API to get Pedestrian routes and am having a problem with avoidAreas.

https://codepen.io/Badajoz95/pen/pvvpPGWhas an avoidArea which only includes a pathway.

https://codepen.io/Badajoz95/pen/RNNxgPW has an avoidArea which includes that pathway and the nearby road.

Same start and end. I've tried various sizes of avoidance and it seems related to whether the road is occluded.

Assistance would be highly appreciated please.

Azure Maps
Azure Maps
An Azure service that provides geospatial APIs to add maps, spatial analytics, and mobility solutions to apps.
810 questions
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.