csandun / robertprojects

Automatically exported from code.google.com/p/robertprojects
0 stars 0 forks source link

onTouchEvent ignores result from mDetector causing maps to not move #106

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Create an instance of OpenStreetMapView without any overlays
2. Try and drag the map
3. Nothing happens

The onTouchEvent() method is calling this.mDetector.onTouchEvent() and ignoring 
the result.  It then returns the value from super.onTouchEvent() which ends up 
being false in this scenario.  By returning false it does not subsequently send 
in the motion events.

I believe it should not call super.onTouchEvent if mDetector returns true.

What version of the product are you using? On what operating system?

SVN checkout 1/13/2011

Original issue reported on code.google.com by glenne.t...@gmail.com on 14 Jan 2011 at 6:55