MapEventLayer2: improve double tap (#493)

This commit is contained in:
Gustl22
2018-01-29 20:59:55 +01:00
committed by Emux
parent 57ce026efd
commit 3905ddb5e4
5 changed files with 42 additions and 7 deletions

View File

@@ -134,6 +134,11 @@ public class MarkerLayerTest extends GdxMapApp implements ItemizedLayer.OnItemGe
System.out.println("Map long press " + p);
return true;
}
if (g instanceof Gesture.TripleTap) {
GeoPoint p = mMap.viewport().fromScreenPoint(e.getX(), e.getY());
System.out.println("Map triple tap " + p);
return true;
}
return false;
}
}