On a microsoft surface using daily development build 8.0.336.0 when I pinch zoom and then use the stylus to left click on the map the map zooms in. It does this regardless of wheher I zoom in or out with the pinch gesture.
this occurs only after doing a pinch operation. After a pinch zoom if I click on the map with my finger and then use the stylus it behaves as it should. Likewise if I drag with the stylus or my finger then a left click with the stylus after the drag operation also works as it should.
As of right now I cannot see a way to override this behavior. Any suggestions?
Problem with Pinch Zoom
Hi Richard,
I think your question is after you pinch by finger(zoom in or zoom out), then click on map by stylus, the map keep zoom in.
If I misunderstand that please let me know.
Because some reason, I don’t have the machine for test today, but I will find one for it.
Regards,
Don
Don,
Yes that is exactly what I am seeing. I have also duplicated the problem using the WPFDesktopEdition_howdoI_cs example.
Thanks,
RIck.
Hi Richard,
Thanks for let us knows that, I have reproduced that and fixed it.
But because the coming new release, our daily build had stopped now.
Please wait the new development edition after new release, it will contains this fix.
If it is hurry for you, please contact your sales for get a special build.
Regards,
Don
Hi Richard,
I am sorry we hadn’t reproduced this succeed, but we found some strange things, please let us know whether you can reproduce that also:
1. Download this project: wiki.thinkgeo.com/wiki/Map_Suite_Wpf_Desktop_Edition_All_Samples#Map_Rotation_and_Multi_Touch.28WPF.29
2. Add marker by finger and stylus.
If you found add one marker each time by finger but add two markers each time by stylus, please let us know.
We doubt this is related with what you reported.
Please make sure you are using the latest version, and if possible please provide us more detail steps for reproduce your issue, an screen video is also welcome.
Regards,
Don
Don,
Yes, when I add a marker with the stylus I am getting two markers. Touch operations result only in a single marker.
With this example I am not sure if I am seeing it zoom in or not as the snap to zoom level may be interfering. I am seeing the screen shift after the pinch operation when I tap the screen with the styus to add the marker. In this situation the first marker is added the screen shifts 1/2 way down towards the right, and then a second marker is placed at the sylus position.
The steps I am doing to reproduce this issue are as follows:
Zoom in to around Level 5/6 using a pinch operation.
Place a marker with the stylus.
Doing other operations between these two prevents the shif/zoom problem from occurring. Even checking the zoom level by hovering over the slider will prevent the shift/zoom problem from happening. Unforunately I don’t have any software on the machine in question to capture video.
Thanks,
Rick
Hi Richard,
Thanks for your detail information and I am sorry we cannot reproduced that.
Have you tried to use the latest package for test?
You know it’s very hard to find issue and solve it if we cannot reproduce, because that maybe related the detail machine.
Regards,
Don
Don,
I am using the latest full development build 8.0.336.0. However I am using VS2010 which could be part of the issue. I will see if we have VS2013 availble - and if so will see if that has any impact on the issue I am seeing.
Thanks,
Rick
Hi Richard,
I am not sure whether that’s related with your IDE, but please feel free to let us know your test result.
Regards,
Don
What I was wondering was whether or not the problem may have been related to the version of the .Net Framework. Unforunately I am still having the same problems when I switched to .net 4.5.1.
Behavior I am seeing is very similiar to a double tap zoom in. Only thing I can think of is that maybe their is a realtionship betwwen the behavior you saw with multiple markers being placed and what I am seeing with the zoom operation.
To verify if this is at all related is there a simply way to disable the double click zoom operation?
Hi Richard,
I think you can do that like this:
wpfMap1.PreviewMouseDoubleClick += wpfMap1_PreviewMouseDoubleClick;
void wpfMap1_PreviewMouseDoubleClick(object sender, System.Windows.Input.MouseButtonEventArgs e)
{
e.Handled = true;
}
Please let me know whether that works for you.
Regards,
Don
Thanks Don,
Unfortunately that had no impact on the problem I am seeing. We have other surface tablets in the office I will see if I can get my hands on one of those to see if they exhibit the same problem.
regards,
Richard
Don,
We have a bunch of new microsoft Surface 3 tablets – I tried only one of them, but it exhibited the same zoom problem with the stylus after a pinch/zoom operation. The only thing that we have done with these tablets is to put our application on them – everything else is stock. Currently we are using daily developement build 8.0.293.0, but we will be putting the latest one on them tomorrow and retest. I don’t expect the behavior to change though as the Original Surface 3 that I have been using does have the latest daily devlopment build on it.
regards,
Rick
Hi Richard,
I just get response that we only have one surface pro for test and it is taken up by some professional service projects now, we can only get it once the project is done, maybe around a month. So I am sorry I think our developer cannot keep going for this problem now, please contact sales@thinkgeo.com if that’s high priority for you and you need to expedite it.
Regards,
Don