danzel
|
edaa1bbcec
|
Disable longPress contextmenu emulation on msTouch, it natively fires its own contextmenu event after a longpress is released.
|
2012-10-31 13:26:56 +13:00 |
|
danzel
|
081edc283e
|
Rename timeout to match other vars
|
2012-10-31 13:25:29 +13:00 |
|
danzel
|
5f960721d9
|
Use L.Util.bind instead of var self.
|
2012-10-31 13:11:16 +13:00 |
|
danzel
|
3aeff55f24
|
Rename contextMenuEmulation -> longPress
|
2012-10-31 13:05:38 +13:00 |
|
danzel
|
9783d9ba22
|
Cancel contextMenu emulation timeout if >1 touches happen (Put them down for a touch zoom and didn't move them for example)
|
2012-10-31 12:59:59 +13:00 |
|
danzel
|
514908f812
|
Stop touchStart propagation in Draggable. Without this dragging marker will fire a contextmenu event on touch as the map gets a touch start/end event but none of the moves.
|
2012-10-31 12:59:58 +13:00 |
|
danzel
|
1aff46cb27
|
Rewrite longpress->contextmenu to live inside Draggable instead as it needs deep interaction with it. When an emulated contextmenu is fired on touch we stop dragging and stop a click event from occurring. New map option to disable it if required: touchContextMenuEmulation
|
2012-10-31 12:59:58 +13:00 |
|
danzel
|
d3d85198e2
|
Need to clone the x/y of the touch as the actual object gets updated. This fixes contextMenu occurring while touch panning the map.
|
2012-10-31 12:58:59 +13:00 |
|
danzel
|
d133c86b51
|
Add LongPress support to mobile. Fires a contextmenu event after a single press without movement of 1 second
|
2012-10-31 12:58:58 +13:00 |
|
danzel
|
d1a1f1748a
|
Make jshint happy
|
2012-10-29 11:49:51 +13:00 |
|
danzel
|
eecd28e570
|
Make getStyle work for ie < 9. Make IE<=7 support RTL too.
|
2012-10-29 11:46:40 +13:00 |
|
danzel
|
b6ae1259f0
|
Text alignment
|
2012-10-29 11:11:14 +13:00 |
|
danzel
|
9b5d25ae7f
|
Only apply scrollWidth/clientWidth for webkit. Other browsers handle it differently.
|
2012-10-29 11:06:22 +13:00 |
|
danzel
|
126a316916
|
Cache remembering if the document is Left to right. Do it at the document level rather than the element level as it isn't likely to change.
|
2012-10-29 10:48:01 +13:00 |
|
danzel
|
c649a4fd92
|
Update L.DomUtil.getViewportOffset to support dir="rtl"
Fix css element positioning when rtl.
Fixes #1095
|
2012-10-29 10:18:38 +13:00 |
|
Vladimir Agafonkin
|
335b7f46eb
|
clean up browser detection
|
2012-10-18 18:43:03 +03:00 |
|
danzel
|
816b53f2de
|
jshint happiness
|
2012-10-18 14:23:18 +13:00 |
|
danzel
|
c6be039326
|
Fix up DoubleTap in ie10 emulation mode bailing as touches isn't set (which it of course isn't!)
|
2012-10-18 14:23:17 +13:00 |
|
danzel
|
f373d6b0d4
|
The internal MSPointerUp/Cancel listener should be set on the document and never let go otherwise we can miss MSPointerUp events.
|
2012-10-18 14:23:17 +13:00 |
|
danzel
|
1bf755dce3
|
Fix up double tap listener with ie10. We listen for up events on the document so that we get all of them, otherwise we will miss some and mess up our touch coun tracking.
|
2012-10-18 14:23:16 +13:00 |
|
danzel
|
31542bd932
|
Remove debug logs
|
2012-10-18 14:23:16 +13:00 |
|
danzel
|
84d5f614da
|
Fix up my stupidness with add/removeEventListener. Fixes the zoom drag off screen bug without needing the work around
|
2012-10-18 14:23:15 +13:00 |
|
danzel
|
af2318afaa
|
Ensure we still fire the dragend event. Move click simulation until after the drag has finished (clicking during a drag seems weird).
|
2012-10-18 14:23:14 +13:00 |
|
Marcel Sulek
|
ba22cc28b2
|
IE10 - fix of not simulating clicks even when drag was within TAP_TOLERANCE
(cherry picked from commit b7e84aed9b77c51e2a4698251bf38ccf46b82dc7)
|
2012-10-18 14:23:14 +13:00 |
|
danzel
|
fc3a36d39c
|
Remove duplicate comment
|
2012-10-18 14:23:13 +13:00 |
|
Marcel Sulek
|
63f24a91cc
|
IE10 double-tap fix - binding touchEvent methods instead of deleting them
(cherry picked from commit ec2989e1331ded00d6dfd97263cba75e95d19f08)
|
2012-10-18 14:23:12 +13:00 |
|
danzel
|
b2945b5c94
|
Attempt a fix at the screen edge bug
|
2012-10-18 14:23:12 +13:00 |
|
danzel
|
8c1b1c83ba
|
Add listeners for MSPointerCancel, hopefully fixes remaining touch issues. Also fixes removeDoubleTapListener for all platforms
|
2012-10-18 14:23:11 +13:00 |
|
danzel
|
db6b0c60f8
|
JSHint happiness
|
2012-10-18 14:23:10 +13:00 |
|
danzel
|
a23f650069
|
Make DomEvent.DoubleTap support MSPointer* events. Had to track touch count manually and clone the object so we can change the type.
|
2012-10-18 14:23:10 +13:00 |
|
danzel
|
8bed7adb81
|
Make touch events work for IE10 using a wrapper approach (similar to DomEvent.DoubleTap). DoubleTap touch on IE10 doesn't currently work but everything else does. Refs #871
|
2012-10-18 14:23:09 +13:00 |
|
danzel
|
b596383f45
|
Fix tile zoom animation in latest chrome canary and remove the translate(0,0) hack for other browsers as this fixes it too :-) Fixes #1056
|
2012-10-11 12:48:20 +13:00 |
|
Vladimir Agafonkin
|
4ed3c97bcd
|
fix various master regressions
|
2012-09-11 12:33:54 +03:00 |
|
Vladimir Agafonkin
|
9625cdbbb9
|
fixed glitches with zooming on pan animation and panning on zoom animation
|
2012-08-13 15:41:20 +03:00 |
|
Jon Stevens
|
1e363f29f1
|
null check setting of document.onselectstart
|
2012-08-10 13:20:48 -07:00 |
|
mourner
|
8980f2d224
|
minor code cleanup, more destructive point operations
|
2012-08-10 22:40:55 +03:00 |
|
mourner
|
7627d39700
|
improve PosAnimation code a bit
|
2012-08-10 21:50:00 +03:00 |
|
Vladimir Agafonkin
|
2d2fc74110
|
get rid of the legacy L.Transition, replace with a better and simpler L.PosAnimation
|
2012-08-10 18:43:46 +03:00 |
|
Vladimir Agafonkin
|
f184df2c27
|
fix map panning inertia flicker on Chrome
|
2012-08-06 14:43:32 +03:00 |
|
danzel
|
8d4d347ec9
|
Fix setting opacity multiple times in oldie. Was disabling the filter if it should be enabled and vice-versa
|
2012-08-02 12:47:49 +03:00 |
|
Vladimir Agafonkin
|
1b88497f44
|
fix dragging cursor appearing to early on FF
|
2012-08-02 12:46:58 +03:00 |
|
danzel
|
606fe257d9
|
Fix up zoom fixes on Touch, fake doubleTap handler wasn't returning itself, breaking the chaining. Remove the preventDefault on dblclick as it does nothing.
Turns out this fix doesn't prevent double tap on the zoom button on touch devices.
|
2012-07-27 09:12:58 +12:00 |
|
Vladimir Agafonkin
|
3201dd066a
|
cleanup setOpacity for IE
|
2012-07-25 11:08:51 +03:00 |
|
Andrew Beaven
|
c19ee48904
|
Fixes popups in IE8 and earlier
|
2012-07-25 16:30:21 +12:00 |
|
mourner
|
d608222018
|
revert removing immediate option in reqAnimFrame
|
2012-07-20 21:34:21 +03:00 |
|
mourner
|
f1c4a1f554
|
refactor request/cancelAnimFrame
|
2012-07-20 21:15:07 +03:00 |
|
Vladimir Agafonkin
|
bd1510cec4
|
improve panning inertia, fix animation easings on IE
|
2012-07-12 17:46:17 +03:00 |
|
Vladimir Agafonkin
|
4edfaee008
|
Use feature detection instead of browser sniffing for opacity, #796
|
2012-07-12 10:31:21 +03:00 |
|
danzel
|
e8a904530e
|
Fix up opacity in IE10, use style.opacity in IE9 also
http://caniuse.com/#feat=css-opacity
Regex from http://msdn.microsoft.com/en-us/library/ms537509(v=vs.85).aspx
|
2012-07-12 09:54:53 +12:00 |
|
Jan Pieter Waagmeester
|
97e3d08dd5
|
Use L.DomUtil.addClass to add classes instead of direct attribute manipulation
|
2012-07-05 16:59:00 +02:00 |
|