Commit Graph

166 Commits

Author SHA1 Message Date
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
Jan Pieter Waagmeester
0a98e75aba Fixed error after running spec: only remove spaces at head and tail now 2012-07-05 15:51:40 +02:00
Jan Pieter Waagmeester
f1480557af Merge branch 'master' of git://github.com/CloudMade/Leaflet 2012-07-05 15:45:28 +02:00
Jan Pieter Waagmeester
6096795c1c Fix regexp in DomUtil.removeClass to correctly remove spaces, use addClass in stead of manual class manimulation in Map.ZoomAnimation 2012-07-05 15:41:55 +02:00
fr1n63
ef0505515d Code conventions adherence 2012-07-04 11:12:19 +01:00
fr1n63
85d6ce08c2 Code conventions adherence 2012-07-04 11:03:25 +01:00
fr1n63
d17bfc6e30 Removing the console log from Map.js, added mobileWebkit browser check to Transition.Native.js bug fix, reverted build files to mourners last revision 2012-07-04 10:14:06 +01:00
fr1n63
7b6a2b8005 Seems to work, removed a lot of the over engineering, seems new version is more stable and deals with this fix better than the previous version did. 2012-07-03 16:30:53 +01:00
fr1n63
9365e76169 First attempts at resolving the zoom bug - changes since v0.3 have rendered this fix useless - try again later 2012-07-03 15:01:56 +01:00
mourner
28a21fd4c3 minor cleanup / refactoring, fix removeEventListener bug 2012-07-01 15:46:31 +03:00
mourner
0f40da1cce merge events by Guiswa, minor cleanup/refactoring 2012-06-30 14:51:09 +03:00
mourner
18557d890a update build and changelog, cleanup 2012-06-26 01:51:04 +03:00
Vladimir Agafonkin
4b2ccdd7fd Merge pull request #757 from stsydow/for_mourner
fixes NaN bug in scale control and spurios mousemove event
2012-06-25 15:32:34 -07:00
Stefan Sydow
8aaac25b11 fix spurios mousemove event for Chrome on Win 2012-06-26 00:11:40 +02:00
mourner
a9b42fad6d update changelog, cleanup 2012-06-26 01:05:55 +03:00