Select to view content in your preferred language

I want map zoomed such that from the center on either side to 50 kilometer

496
2
03-14-2019 06:17 AM
Girishchandra_Yendargaye
Occasional Contributor

I want map zoomed such that from the center on either side  to 50 kilometer

Tags (1)
0 Kudos
2 Replies
LucasDanzinger
Esri Frequent Contributor

Buffer the input geometry by 50 km using the GeometryEngine::buffer - https://developers.arcgis.com/qt/latest/cpp/api-reference/esri-arcgisruntime-geometryengine.html#buf... 

Then call setViewpoint with the returned Geometry

0 Kudos
Girishchandra_Yendargaye
Occasional Contributor

But how to find center of map which added as operational layer.

0 Kudos