All Telerik .NET tools and Kendo UI JavaScript components in one package. Now enhanced with:
Hi,
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.
f.i.:
this.MyOpenStreetMapProvider.Commands[0].IsAllowed = false;