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
Angemeldete Mitglieder können Beiträge verfassen, Updates folgen und mehr. Neu hier? Registriere ein kostenloses Konto.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.