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.
Los miembros registrados pueden publicar, seguir actualizaciones y más. ¿Nuevo aquí? Regístrate gratis.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.