log pinch widths
authorRobert Kaiser <robert@widebook.box.kairo.at>
Fri, 16 Aug 2013 04:45:51 +0000 (06:45 +0200)
committerRobert Kaiser <robert@widebook.box.kairo.at>
Fri, 16 Aug 2013 04:45:51 +0000 (06:45 +0200)
js/map.js

index ce664298e6c478fd3c08576f26b99fe7565c87ac..77585e27c7eb345cfbc7c346259537f23d50b7bc 100644 (file)
--- a/js/map.js
+++ b/js/map.js
@@ -489,6 +489,7 @@ var mapEvHandler = {
                 Math.pow(aEvent.targetTouches.item(1).clientY -
                          aEvent.targetTouches.item(0).clientY, 2)
             );
                 Math.pow(aEvent.targetTouches.item(1).clientY -
                          aEvent.targetTouches.item(0).clientY, 2)
             );
+            console.log('!!!' + gPinchStartWidth);
           }
           gDragTouchID = aEvent.changedTouches.item(0).identifier;
           coordObj = aEvent.changedTouches.identifiedTouch(gDragTouchID);
           }
           gDragTouchID = aEvent.changedTouches.item(0).identifier;
           coordObj = aEvent.changedTouches.identifiedTouch(gDragTouchID);