Hi,
i have downloaded the WPF and WinForms samples und build a simple map
public partial class MainWindow
{
public MainWindow()
{
InitializeComponent();
}
private void MainWindow_OnLoaded(object sender, RoutedEventArgs e)
{
// Please set your own information about those parameters below.
string applicationID = "Au7R2wHDW3llGe0kFmPxrZwn-LNpYstqtbZfyFnK8x_s_0HFb67IPpKz3aeaXf0r";
string cacheDirectory = @"c:\temp\";
BingMapsLayer worldLayer = new BingMapsLayer(applicationID, BingMapsMapType.Road, cacheDirectory);
wpfMap1.MapUnit = GeographyUnit.Meter;
wpfMap1.CurrentExtent = new RectangleShape(-10000000, 10000000, 10000000, -10000000);
LayerOverlay worldOverlay = new LayerOverlay();
worldOverlay.Layers.Add("WorldLayer", worldLayer);
wpfMap1.Overlays.Add("WorldOverlay", worldOverlay);
wpfMap1.Refresh();
}
}
<Window xmlns:wpfDesktopEdition="clr-namespace:ThinkGeo.MapSuite.WpfDesktopEdition;assembly=WpfDesktopEdition" x:Class="WpfGisApplication.MainWindow"
xmlns="schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="schemas.microsoft.com/winfx/2006/xaml" Loaded="MainWindow_OnLoaded"
Title="MainWindow" Height="350" Width="525">
<Grid>
<wpfDesktopEdition:WpfMap Name="wpfMap1" />
</Window>
nothing else. If I run that, it shows the worldmap immediately. But if I zoom in, it takes some times more than 20 seconds to load the tiles. the bingmaps wpf control from microsoft and all web based apps running very well. only the wpf and winforms maps are very, very slow. why?