xaml-sdk/Map/WPF/HowToSetTheBestViewForTheIn...
WPFTeamUser 8e6db6e592 New version of Telerik SDK examples. 2024-05-15 12:25:45 +00:00
..
Properties Revert "Merge pull request #56 from telerik/sdkUpdates" 2024-05-15 14:26:32 +03:00
App.xaml Revert "Merge pull request #56 from telerik/sdkUpdates" 2024-05-15 14:26:32 +03:00
App.xaml.cs Revert "Merge pull request #56 from telerik/sdkUpdates" 2024-05-15 14:26:32 +03:00
HowToSetTheBestViewForTheInformationLayer.csproj New version of Telerik SDK examples. 2024-05-15 12:25:45 +00:00
MainWindow.xaml Revert "Merge pull request #56 from telerik/sdkUpdates" 2024-05-15 14:26:32 +03:00
MainWindow.xaml.cs Revert "Merge pull request #56 from telerik/sdkUpdates" 2024-05-15 14:26:32 +03:00
MapItem.cs Revert "Merge pull request #56 from telerik/sdkUpdates" 2024-05-15 14:26:32 +03:00
Readme.md Revert "Merge pull request #56 from telerik/sdkUpdates" 2024-05-15 14:26:32 +03:00

Readme.md

Ste The Best View For The Information Layer

In case you have a set of elements displayed by the InformationLayer, you might want to be able to display all of them in the visible area of the map and to set the optimal zoom for them. This can be done by using the Best View feature of the RadMap. To use it you have to call the GetBestView() method of the InformationLayer and pass its items to it. This method will return a LocationRect object which represents the best view for the items in the InformationLayer. You can use it in order to adjust the RadMap center and zoom level.