AnsweredAssumed Answered

Directions Widget: Prevent zoom to full route after the route is calculated

Question asked by lmmccosham on May 8, 2017
Latest reply on Jun 27, 2017 by lmmccosham

Hello,

 

I'm using the Directions widget in version 3.20 of the API:

Directions | API Reference | ArcGIS API for JavaScript 3.20 

 

Is it possible to prevent the zoomToFullRoute() method from being called after the route is calculated? I would like to keep the map at its current extent instead of automatically zooming in/out to the calculated route.

 

Thanks,

Outcomes