Commit Graph
38 Commits
Author SHA1 Message Date
tsauerwein 0d72f4542e Remove old event types
Pointer events for the win.
2014-03-14 10:16:26 +01:00
tsauerwein 5f75104e33 Remove DragInteraction 2014-03-14 10:16:26 +01:00
tsauerwein 50d09eba93 Adding missing default returns 2014-03-14 10:16:26 +01:00
tsauerwein fa434bedda use anonymous function 2014-03-14 10:16:26 +01:00
tsauerwein bc31d42964 removes dead code 2014-03-14 10:16:26 +01:00
tsauerwein 43aac5480c fixes interaction options in tests 2014-03-14 10:16:26 +01:00
tsauerwein dc164fd496 removes now superfluous DragPanInteraction 2014-03-14 10:16:26 +01:00
tsauerwein 56dcdd02ec base dragrotateandzoominteraction on pointer interaction 2014-03-14 10:16:26 +01:00
tsauerwein c593add6d8 base dragrotateinteraction on pointer interaction 2014-03-14 10:16:26 +01:00
tsauerwein 12b0fee790 pointer interaction might also receive events that are not pointer events 2014-03-14 10:16:26 +01:00
tsauerwein 411b7257cf refactoring pointer interactions 2014-03-14 10:16:26 +01:00
tsauerwein fca9c50a3f PointerInteraction uses MapBrowserPointerEvent not MapBrowserEvent 2014-03-14 10:16:26 +01:00
tsauerwein a696150470 base interaction for zoom box on pointer events 2014-03-14 10:16:26 +01:00
tsauerwein bfc95451e8 fixes preventDefault() on IE11 2014-03-14 10:16:26 +01:00
tsauerwein 122dac857f PointerEventHandler test 2014-03-14 10:16:26 +01:00
tsauerwein 3d7ae92f0b tests for mouse- and touchsource 2014-03-14 10:16:26 +01:00
tsauerwein 2846996609 tests for pointereventhandler 2014-03-14 10:16:26 +01:00
tsauerwein 68b7ee58a5 fixes tests for mapbrowserevent 2014-03-14 10:16:26 +01:00
tsauerwein e0b345b7db add assertion 2014-03-14 10:16:26 +01:00
tsauerwein 692a68644f introduce type POINTERDRAG to make a distinction between pointer move and drag 2014-03-14 10:16:26 +01:00
tsauerwein eca6846dac move checks for pointer support into browserfeature module 2014-03-14 10:16:26 +01:00
tsauerwein b52f79340d use separate pointer event handler for document when dragging 2014-03-14 10:16:26 +01:00
tsauerwein 2e4badb7f3 when copying properties for touch events, make sure that those properties that might be different for each Touch object are not copied from the touch event 2014-03-14 10:16:26 +01:00
tsauerwein 7fbd11154b refactoring, type annotations 2014-03-14 10:16:26 +01:00
tsauerwein d772c95ccf makes PointerEvent a plain closure class, instead of trying to mimic a mouse event, which was required for the polyfill 2014-03-14 10:16:25 +01:00
tsauerwein 7c8713f79d add comment about an open bug with native Android browser (4.1.2) when the page is scrolled 2014-03-14 10:16:25 +01:00
tsauerwein e1f4410ad4 removes not needed WeakMap struct 2014-03-14 10:16:25 +01:00
tsauerwein a31cc3f18c only track events when "pointerdown" event was received, because on native android browser wrong move events are sent with no "pointerdown" event 2014-03-14 10:16:25 +01:00
tsauerwein c4c1eb7d45 allow dragging for mouse/ms/native when pointer is outside map viewport element 2014-03-14 10:16:25 +01:00
tsauerwein ee2174785f copy properties for pointer event from internal browser event, not from google.event.BrowserEvent 2014-03-14 10:16:25 +01:00
tsauerwein 1c75ecc260 former touch interactions now use pointer events 2014-03-14 10:16:25 +01:00
tsauerwein 014ef96c31 base interactions for pointer events on existing touch interactions 2014-03-14 10:16:25 +01:00
tsauerwein 37ab50e2e4 use goog.bind, safari does not support the native bind 2014-03-14 10:16:25 +01:00
tsauerwein 492549642e add polymer license info 2014-03-14 10:16:25 +01:00
tsauerwein 0858f6825c source for touch events 2014-03-14 10:16:25 +01:00
tsauerwein 445ff5e05a source for native pointer events (IE11) 2014-03-14 10:16:25 +01:00
tsauerwein df4bd7c43b source for ms pointer events (IE10) 2014-03-14 10:16:25 +01:00
tsauerwein 7140f608f8 pointer events generated by mouse events 2014-03-14 10:16:25 +01:00