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
Membros conectados podem postar, seguir atualizações e mais. Novo aqui? Registre uma conta gratuita.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.