Is there a way to zoom mapview to a line as is the case with the point? For example, when I want to zoom the map to a point I use: MapView.zoomTo(centerPt, factor), is it possible to do this with a line?
You can try setExtent on the MapView and pass in the Polyine Geometry itself. That might work the same.
I hope this is helpful.
You are right!
Many thanks Eric
Signed in members can post, follow updates, and more. New here? Register a free account.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.