I am using qt version 5.10.1 and arcgis 100.6 . My code is in cpp.
I want to add zoom and pan pushbuttons on my map. I am aware that mousecontrol and keyboard controls are available for navigation on map. However I want the same functionality on my map.
For eg. on clicking the <-- pushbutton my map the right pan action must be executed. Similarly on + pushbutton click map must zoom in.
Is there any way to acheive this?
Solved! Go to Solution.
You can use Viewpoints to programmatically move around the MapView. There are many different ways to go about it, several of which are showcased in this sample - https://github.com/Esri/arcgis-runtime-samples-qt/tree/master/ArcGISRuntimeSDKQt_CppSamples/Maps/Cha...
You can use Viewpoints to programmatically move around the MapView. There are many different ways to go about it, several of which are showcased in this sample - https://github.com/Esri/arcgis-runtime-samples-qt/tree/master/ArcGISRuntimeSDKQt_CppSamples/Maps/Cha...