I want map zoomed such that from the center on either side to 50 kilometer
Buffer the input geometry by 50 km using the GeometryEngine::buffer - https://developers.arcgis.com/qt/latest/cpp/api-reference/esri-arcgisruntime-geometryengine.html#buffer
Then call setViewpoint with the returned Geometry
But how to find center of map which added as operational layer.
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.