This is a migrated thread and some comments may be shown as answers.

Problem with mouseWheel Zoom

7 Answers 134 Views
Map
This is a migrated thread and some comments may be shown as answers.
Santiago Dávila
Top achievements
Rank 1
Santiago Dávila asked on 08 Mar 2010, 05:00 PM

Telerik Staff

We are working in an application with a radMap with fix size in width and height, empty provider and some information layers on it.
The option IsMouseWheelZoomEnabled is set to true and the clickMode set to none and the zoom is not working with the mouse wheel.
Can you tell me if that´s a known issue or if there´s a way to do that, or maybe a tip and possible solution of why it´s not working.


Thanks in advance

Santiago

7 Answers, 1 is accepted

Sort by
0
Accepted
Alex Mitchell
Top achievements
Rank 1
answered on 08 Mar 2010, 08:03 PM
What is the Web browser you are testing you Silverlight application in? I also had this problem when testing in Firefox, but the functionality would be fine when I used it in IE8.

I fixed this problem in Firefox by removing the IsMouseWheelEnabled and subscribing to the MouseWheel Event which might also have some problems with Firefox such as firing multiple times rather than just once. If you use a single DispatchTimer similar to the main demo Telerik has provided, that should fix your problems completely.
0
Santiago Dávila
Top achievements
Rank 1
answered on 10 Mar 2010, 06:17 PM
Hey there

I am working with IE8, and using the MouseWheel Event event it is working fine, but it became a manual procedure, I suppose the property IsMouseWheelZoomEnabled will work in the future.

Thanks.
0
Damian Slee
Top achievements
Rank 1
answered on 24 Mar 2010, 01:40 PM
I have the mouse zoom problem, only with a second map window.  And also doesn't work at all with firefox.

I have a main map window in a xaml page.   zoom in/out works fine with the mouse.   I then have a button which opens a child window which allows some geocoding searching, a datagrid with the results, and another map windows displaying the selected geocode location.  the mouse zoom doesn't work in this case.
IE8.

 

 

<Telerik_Windows_Controls:RadMap Grid.Row="2" Name="GeocodeMap" IsMouseWheelZoomEnabled="True"/>

 



    public partial class GeocodePage : ChildWindow
    {


 

0
Andrey
Telerik team
answered on 26 Mar 2010, 02:28 PM
Hi Damian,

I believe you can use the RadWindow instead of the ChildWindow in your application. I have tested it on IE8 and firefox 3.6.2 and mouse wheel zoom works as expected.

I have attached a sample solution that uses RadWindow for showing the second map to get you started.


Regards,
Andrey Murzov
the Telerik team

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
0
Damian Slee
Top achievements
Rank 1
answered on 26 Mar 2010, 05:04 PM
thanks, replacing the childwindow with radwindow fixed the zooming issue i had with a map on the second window.
0
Flemming Rosenbrandt
Top achievements
Rank 1
answered on 30 Mar 2010, 11:29 AM

Will it be fixed to work with ChildWindows?

/Flemming Rosenbrandt

0
Andrey
Telerik team
answered on 01 Apr 2010, 03:09 PM
Hi Flemming,

We've created a PITS issue #1649. We will fix the problem with mouse wheel zoom on ChildWindows in future releases.

Sincerely yours,
Andrey Murzov
the Telerik team

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
Tags
Map
Asked by
Santiago Dávila
Top achievements
Rank 1
Answers by
Alex Mitchell
Top achievements
Rank 1
Santiago Dávila
Top achievements
Rank 1
Damian Slee
Top achievements
Rank 1
Andrey
Telerik team
Flemming Rosenbrandt
Top achievements
Rank 1
Share this question
or