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.
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.