During our evaluation of the RadMap control, we noticed that there is a significant delay (almost 1 second) between the mouse dragging and the starting of map panning.
I am using a local single image provider, so loading time shouldn't be the issue.
Is there any parameter I need to set to reduce this delay.
I am using a local single image provider, so loading time shouldn't be the issue.
Is there any parameter I need to set to reduce this delay.
4 Answers, 1 is accepted
0
Hi Wenrong,
There is a difference between the Silverlight and the WPF version of RadMap. The Silverlight version is based on the standard Silverlight MultiScaleImage control. Unfortunately, there is no such control in WPF, so we have created our own implementation of the MultiScaleImage. All panning and zooming features which are available in Silverlight's MultiScaleImage control are simulated in WPF using the available animation features. So, the Silverlight and the WPF version have a difference for panning and zooming using mouse when the spring animation feature is enabled (RadMap.UseSpringAnimations="True"). By default the feature is enabled. You can disable this feature to make the panning faster.
Kind regards,
the Telerik team
There is a difference between the Silverlight and the WPF version of RadMap. The Silverlight version is based on the standard Silverlight MultiScaleImage control. Unfortunately, there is no such control in WPF, so we have created our own implementation of the MultiScaleImage. All panning and zooming features which are available in Silverlight's MultiScaleImage control are simulated in WPF using the available animation features. So, the Silverlight and the WPF version have a difference for panning and zooming using mouse when the spring animation feature is enabled (RadMap.UseSpringAnimations="True"). By default the feature is enabled. You can disable this feature to make the panning faster.
Kind regards,
the Telerik team
Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>
0
Wenrong
Top achievements
Rank 1
answered on 15 Oct 2011, 01:05 AM
Great! I like this panning without the animation.
However this seems to have effect on both zooming and panning. Is it possible to have animation on zooming only?
However this seems to have effect on both zooming and panning. Is it possible to have animation on zooming only?
0
Hello Wenrong,
Currently the RadMap can use the animation on both zooming and panning only. We already have the PITS issue for this feature. You can check when it will be available using the following link:
http://www.telerik.com/support/pits.aspx#/public/silverlight/1311
One of the major criteria for prioritizing feature development is the number of customers' votes in our PITS and you can cast your vote for this feature.
All the best,
Andrey Murzov
the Telerik team
Currently the RadMap can use the animation on both zooming and panning only. We already have the PITS issue for this feature. You can check when it will be available using the following link:
http://www.telerik.com/support/pits.aspx#/public/silverlight/1311
One of the major criteria for prioritizing feature development is the number of customers' votes in our PITS and you can cast your vote for this feature.
All the best,
Andrey Murzov
the Telerik team
Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>
0
Ian
Top achievements
Rank 1
answered on 13 Nov 2014, 04:10 PM
This seems to do the trick:
private void map_PreviewMouseDown(object sender, MouseButtonEventArgs e) {
if (e.ChangedButton != MouseButton.Left) return;
map.UseSpringAnimations = false;
}
private void map_PreviewMouseUp(object sender, MouseButtonEventArgs e) {
if (e.ChangedButton != MouseButton.Left) return;
map.UseSpringAnimations = true;
}
private void map_PreviewMouseDown(object sender, MouseButtonEventArgs e) {
if (e.ChangedButton != MouseButton.Left) return;
map.UseSpringAnimations = false;
}
private void map_PreviewMouseUp(object sender, MouseButtonEventArgs e) {
if (e.ChangedButton != MouseButton.Left) return;
map.UseSpringAnimations = true;
}