Commit Graph

281 Commits

Author SHA1 Message Date
mourner
dc79b10683 More jshinting and whitespace fixes 2011-12-09 12:20:59 +02:00
mourner
fccecb419f Whitespace fixes 2011-12-08 17:53:17 +02:00
Samat K Jain
c59e8b3239 Ignore shift key for touch-enabled browsers
Firefox Mobile (née Fennec) has a bug that sets Event.shiftKey to true
even though the shift key is not depressed:

  https://bugzilla.mozilla.org/show_bug.cgi?id=694268

As a workaround, ignore whether the shift key is depressed for
touch-enabled browsers. This breaks Leaflet’s drag-zoom, but besides
being awkward I’m unsure it consistently worked on other touch-enabled
browsers (did not work for me on Android 2.3 devices w/ Bluetooth
keyboard).
2011-10-14 17:16:13 -06:00
mourner
be575a6622 Clear transition step interval timer one more time (to make sure it doesn't leak), related to #231 2011-09-23 18:18:43 +03:00
mourner
fe443d3d50 Fixed regression in Draggable (click triggers after dragging), closed #306 2011-09-23 17:03:36 +03:00
mourner
106054140b A better attempt at the copy world problem, hopefully closed #273, fixed #293, fixed #294, closed #288 2011-09-23 16:55:47 +03:00
mourner
9fad3d0b40 cleanup, fix IE6 events error 2011-09-20 17:03:35 +03:00
mourner
87e5cba374 Fixed whitespace 2011-09-20 16:27:08 +03:00
mourner
a7d2b16543 Fixed a bug related to panning getting stuck after releasing the mouse over an iframe or flash, closed #64 and #166 2011-09-20 16:22:30 +03:00
Vladimir Agafonkin
73d6fb6c0a Fixes IE problem introduced in a recent commit, #292 2011-09-14 20:19:50 +03:00
Mourner
1d86c969be Fix vector layer click events for iOS, close #204 2011-09-09 12:52:28 +03:00
Mourner
7ce750a3b7 more on #281 2011-09-08 12:11:14 +03:00
Mourner
fde7c7960a don't add the same listener twice, close #281 2011-09-08 12:01:21 +03:00
Mourner
6a39725de5 fix requestAnimationFrame in some Chrome/Linux builds 2011-08-15 18:34:58 +03:00
Mourner
13807db12e more mouse scrolling fixes, update build 2011-08-11 14:01:15 +03:00
ErshKUS
1fb8e4bb4b oops, I'm new to GitHub 2011-08-11 00:07:13 +03:00
ErshKUS
94d1288d4c fix zoom mousescroll, test FF3.6 Chrome last IE 8 2011-08-10 23:50:32 +03:00
Neno
6d509e432b Fix L.DomUtil.removeClasss method. Regex wasn't matching '-' chars in class names. 2011-07-31 14:04:04 +01:00
Mourner
aa5849a2dc fixed mouse zoom when map is inside scrollable div, closes #206 2011-07-28 12:49:32 +03:00
chrillo
d4c73d2b57 Scrolling Offset Bug Fix 2011-07-28 10:36:21 +02:00
Vladimir Agafonkin
c726d6f3cb Merge pull request #189 from anru/domutil
Add L.DomUtil.removeClass method
2011-07-20 04:27:12 -07:00
Andrey Rublev
479eaa6528 Now draggable's event 'drag' syncronized with actual position of draggable element 2011-07-20 14:18:59 +07:00
Andrey Rublev
b27922ea2c Add L.DomUtil.removeClass method 2011-07-15 19:03:35 +07:00
Mourner
9c19796f25 rely more on feature detection instead of ua string, closes #142 2011-06-23 14:41:47 +03:00
Mourner
0800c241c1 opera mobile fixes, closes #138 2011-06-17 19:40:27 +03:00
Mourner
05c4b3f114 add tap tolerance for better mobile usability, update changelog 2011-06-17 15:52:39 +03:00
Mourner
d3f0ba5424 don't use setTimeout on drag for browsers without requestAnimFrame 2011-06-17 14:10:30 +03:00
Mourner
d2487e89d0 improve mobile webkit click responsiveness, fix clicks in Android 2.1 2011-06-17 13:50:50 +03:00
mourner
c93d91bfad improve panning performance considerably, closes #130 2011-06-17 00:24:13 +03:00
Mourner
b781376e3d fix HTC Hero panning, closes #84 (hopefully) 2011-06-16 18:52:37 +03:00
Mourner
522fd7a78e fix bug with click propagation on popup close button, fixes #99 2011-06-03 14:32:17 +03:00
Mourner
2bbdc028ea fix map div absolute position bug, fixes #100 2011-06-03 11:52:51 +03:00
Mourner
eadb94f258 revert android fix as it prevents clicks on iphone :( 2011-05-31 20:02:23 +03:00
mourner
600c9619c3 Revert getTarget-related refactoring, fixes #87 (IE8 error) 2011-05-31 01:27:19 +03:00
mourner
af9319e52e fix whitespace 2011-05-31 00:39:04 +03:00
Miroff
c44ec4e1c0 Fixed issue #84 Panning is really slow under HTC Hero (Android 2.2) 2011-05-31 01:30:18 +07:00
Mourner
f36a2f91af fix accidentally broken tiles in IE6-8, fix SVG in IE9, fixes #83 2011-05-30 15:20:08 +03:00
Mourner
9863c0c6a0 tile layer refactoring 2011-05-27 18:36:11 +03:00
Mourner
089052e40d TileLayer opacity option 2011-05-23 14:09:15 +03:00
Mourner
ed4d73cc5a fix accidentally broken mousewheel 2011-05-20 11:19:51 +03:00
Mourner
5e927b0382 dom mouseenter/mouseleave, map mouseover/mousemove/mouseout events 2011-05-19 18:57:35 +03:00
Mourner
895d171648 android fixes, zoom animation refactoring, fadeAnimation option 2011-04-14 15:42:48 +03:00
Mourner
8cb51d1c6c Double tap on mobile webkit, update build 2011-04-12 16:53:07 +03:00
mourner
7162bd4930 refactor popup code, merge marker dragging from msaspence 2011-04-11 23:43:23 +03:00
Matt Spence
805f3b39b9 Added draggability to markers 2011-04-11 16:26:41 +01:00
Mourner
90f49fd235 fix scrolled document bug 2011-03-24 16:53:27 +02:00
Mourner
7e9d530f98 addClass, hasClass utility methods 2011-03-23 18:28:03 +02:00
Mourner
6c8ef08382 shift drag zoom 2011-03-21 19:09:43 +02:00
Mourner
f2eefe6506 options fix, L.Util.setOptions 2011-03-01 16:27:09 +02:00
Mourner
348860286c update folder structure 2011-01-21 11:55:08 +02:00
Mourner
62e947f4cc fix IE7 error (it sometimes doesn't like the delete statement) 2011-01-18 12:03:38 +02:00
Mourner
2088223229 fix markers in IE7 (you have to set the size explicitly for some reason) 2011-01-18 12:02:56 +02:00
Mourner
be09f97cf2 At last, zooming animation! HUGE commit! 2011-01-14 18:43:40 +02:00
Mourner
5b6a98acee L.DomUtil.create shortcut, refactoring, update build 2011-01-13 12:17:50 +02:00
Mourner
8bbe9940c0 new pretty marker icons 2011-01-12 16:51:54 +02:00
Mourner
17a896ceb7 Move disabling click propagation to an util method 2011-01-10 16:22:35 +02:00
Mourner
2e2e502d2d todo: refactor translate stuff 2011-01-10 16:22:07 +02:00
Mourner
739c8e289e popup implementation 2010-12-15 19:55:57 +02:00
Mourner
427e96540a moved Icon to dom package 2010-12-15 17:21:14 +02:00
mourner
f81641d083 remove unnecessary comment 2010-09-29 19:14:33 +03:00
mourner
ad7ab3a753 better progressive enhancement 2010-09-29 12:02:03 +03:00
mourner
533d095fef progressive enhancement for animation 2010-09-29 11:22:46 +03:00
mourner
284595f335 panning animation 2010-09-28 21:09:53 +03:00
mourner
5d809aa267 Transition implementation (both native and timer-based) 2010-09-28 20:53:45 +03:00
mourner
d1f1744ca3 jslinted 2010-09-27 18:34:56 +03:00
mourner
0991c7fc78 basic scroll wheel zoom 2010-09-27 13:09:41 +03:00
mourner
1ec2971172 small refactoring 2010-09-21 18:36:00 +03:00
mourner
480120e3f3 draggable fix 2010-09-21 16:10:31 +03:00
mourner
4984035a9e map events, double click fix 2010-09-21 15:48:31 +03:00
mourner
e734e20d55 map positioning refactoring 2010-09-21 15:28:13 +03:00
mourner
9437cfda37 fix draggable 2010-09-21 15:27:47 +03:00
mourner
5fc294650e translate/touch zoom refactoring 2010-09-20 15:08:25 +03:00
mourner
8313ea5497 move text selection to draggable private methods 2010-09-16 18:32:55 +03:00
mourner
c407e5c771 added Draggable 2010-09-16 16:05:55 +03:00
mourner
c267a232ef setPosition improvements for mobile 2010-09-16 16:05:42 +03:00
mourner
361d79c51f clean up formatting 2010-09-15 17:04:02 +03:00
mourner
ad46474275 added getStyle, fixed setPosition 2010-09-14 14:57:45 +03:00
mourner
00717ab05b positioning methods (with webkit acceleration support) 2010-09-13 18:18:12 +03:00
mourner
6a158218c1 DomUtil.get, spec 2010-09-07 17:02:45 +03:00
mourner
88ef7d1667 DomEvent fixes, specs 2010-09-07 15:04:00 +03:00
mourner
42bcb9b3b3 DomUtil, DomEvent, namespace config improvements, some specs 2010-09-07 14:27:44 +03:00