Get the extent of a route

Last Published: April 25, 2020


There are two ways to get the extent of a route, one with a map and one without.


  • With a map:

    FindRoute with RouteFinderOptions.returnMap = True
    RouteInfo returns mapImageInfo, which will have an envelope object.
  • Without a map:

    GetRoute with RouteFinderOptions.returnDirection = True ;
    and RouteFinderOptions.RouteOptions.returnGeometry = true ;
    RouteInfo will return segDescription and totalDescription.
    segDescription has an envelope for each segment, and totalDescription has an envelope for the total direction.

Article ID:000005981

  • Legacy Products

Get help from ArcGIS experts

Contact technical support

Download the Esri Support App

Go to download options

Discover more on this topic