Is it possible to disable the map view modes in code behind?
In some scenarios I don't want to allow the user to change the view mode.
Or even better an option to decide per view mode if it is allowed or not.
I use the OpenStreetMapProvider.
Thanks om advance.
This can be achieved by using the MapProvider commands.
this.MyOpenStreetMapProvider.Commands.IsAllowed = false;