Commit Graph

64 Commits

Author SHA1 Message Date
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
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
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
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
danzel
f52251a5f5 Fix setting opacity multiple times in oldie. Was disabling the filter if it should be enabled and vice-versa 2012-08-02 11:31:20 +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
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
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
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
mourner
28a21fd4c3 minor cleanup / refactoring, fix removeEventListener bug 2012-07-01 15:46:31 +03:00
mourner
a9b42fad6d update changelog, cleanup 2012-06-26 01:05:55 +03:00
danzel
3536e9e3cc Comment on why a work around is there 2012-06-26 09:07:07 +12:00
danzel
e5239d167d Ensure translate3d is used in all webkit3d browsers and note why. 2012-06-26 09:07:06 +12:00
Vladimir Agafonkin
2ac4a6d364 L.Browser and translate refactor and cleanup 2012-06-25 18:58:37 +03:00
danzel
d8289081b8 Minor fixups for IE 10 support (Tested with Release Preview in a VirtualBox VM). Not sure if multi-touch support will work as I don't have a device. 2012-06-25 15:30:27 +12:00
danzel
c92059324d Position tiles without 3d transforms, this makes them faster (google maps does the same). The transforms for them (pan, zoom animation etc) happen on a parent node, this is unaffected.
If you run chrome with about:flags "Composited render layer borders" enabled you will see each tile is dark blue outlined when 3d positioned (meaning each is a render surface) and when not 3d positioned they are cyan outlined (tiles in a tiled composited layer), which renders faster.
Ref http://www.chromium.org/developers/design-documents/gpu-accelerated-compositing-in-chrome (very bottom)
2012-06-22 16:15:08 +12:00
danzel
60f4a70710 Make BackfaceVisibility generic. 2012-06-19 10:21:57 +12:00
danzel
063341c35e Add L.Browser.opera3d, L.Browser.any3d and use it everywhere instead of testing each browsers 3d everywhere. Gives opera 3d support!
Not totally happy with L.Browser.any3d not being in the closure, but it works.
2012-06-19 09:49:44 +12:00
danzel
cc304bf212 Add gecko3d support to Browser/DomUtil 2012-06-19 09:20:27 +12:00
Geremia Taglialatela
434e09f01b ie6 filter clearing fix 2012-05-05 13:13:07 +02:00
Dino Ravnić
1195ac3eea code reformating to make it compliant with jake 2012-04-27 15:00:36 +02:00
Vladimir Agafonkin
0d5e4ccf54 Merge pull request #602 from chx007/patch-1
getViewportOffset -> position:fiexd
2012-04-25 13:59:56 -07:00
chx007
280649bf42 getViewportOffset -> position:fiexd 2012-03-26 22:04:57 +08:00
Damon Oehlman
ab936cbafb Tweaked DOM util opacity to only apply in IE when opacity !== 1 2012-03-26 14:53:05 +10:00
mourner
57aee3c5ed Finally implemented panning inertia, closed #17 2012-02-24 17:19:53 +02:00
mourner
fdde989f05 Fixed Android 3 stability issues 2012-02-13 16:01:00 +02:00
mourner
0756ef15c7 Fixed Android 2 stability issues, Closed #69 2012-02-13 14:32:58 +02:00
mourner
a9720fcb43 Final jshinting without remorse 2011-12-09 16:51:31 +02:00
mourner
b03f6eff07 Some really heavy jshinting and whitespace fixes 2011-12-09 16:35:15 +02:00
mourner
fccecb419f Whitespace fixes 2011-12-08 17:53:17 +02: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
Andrey Rublev
b27922ea2c Add L.DomUtil.removeClass method 2011-07-15 19:03:35 +07:00
Mourner
2bbdc028ea fix map div absolute position bug, fixes #100 2011-06-03 11:52:51 +03:00
Mourner
089052e40d TileLayer opacity option 2011-05-23 14:09:15 +03:00
Mourner
895d171648 android fixes, zoom animation refactoring, fadeAnimation option 2011-04-14 15:42:48 +03:00