Commands
RadMap provides the following commands of type ICommand
which handle the zoom level of the visualized shapes:
ZoomInCommand
ZoomOutCommand
You can manually call these commands, for example on button click action, to zoom-in or zoom-out respectively, the shapes displayed in RadMap.
Following is a quick example on how the commands of the Map control can be called from external UI:
Let's have the following Map definition:
where the Source of the MapShapeReader is defined like this:
Lastly, add two buttons that will execute the Map commands - their Command property is bound to the corresponding Zoom command of the Map instance: