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.
Aangemelde leden kunnen berichten plaatsen, updates volgen en meer. Nieuw hier? Registreer een gratis account.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.