The sample demonstrates how to avoid certain area when finding the shortest path by FindingPath event.

The WKT Of Area:
Start FeatureId:
 End FeatureId: