.NET MAUI Map Commands
The Telerik UI for .NET MAUI Map control 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:
1. The RadMap
definition:
Source
of the MapShapeReade
r is defined like this:
Command
property is bound to the corresponding Zoom command of the Map instance:
RadMap
: