Commit Graph

2305 Commits

Author SHA1 Message Date
Vladimir Agafonkin
80ba8d9054 remove testacular master hack (as 0.6 is now stable) 2013-04-03 14:50:10 -07:00
Tom MacWright
8691889d49 Proper default for delta 2013-04-03 14:50:10 -07:00
Tom MacWright
bf99fdb70e Tighter tolerance for point-near check 2013-04-03 14:50:10 -07:00
Tom MacWright
a3ab4b1095 Fix mercator tests, these are broken in Leaflet master. 2013-04-03 14:50:10 -07:00
Tom MacWright
a2f7d7e834 Use mocha 2013-04-03 14:50:09 -07:00
Vladimir Agafonkin
b84be89095 Merge pull request #1568 from jfirebaugh/karma
testacular -> karma
2013-04-03 14:38:15 -07:00
John Firebaugh
28daa9e9b1 testacular -> karma 2013-04-03 14:12:51 -07:00
Vladimir Agafonkin
c0d01ceffe remove testacular master hack (as 0.6 is now stable) 2013-04-03 14:12:13 -07:00
Vladimir Agafonkin
b51239a4b4 Merge pull request #1562 from AndreyChizh/patch-1
Module AnimationPan is defined as dependent on itself
2013-04-01 02:11:52 -07:00
Andrey Chizh
eafede40d4 Update deps.js
The description refers to the module dependency on itself
2013-04-01 12:01:16 +03:00
Vladimir Agafonkin
c247dfdb2c Merge pull request #1537 from dotCypress/master
Popup close button fix
2013-03-28 13:35:11 -07:00
Vladimir Agafonkin
0aed98f7d2 Merge pull request #1554 from olegsmith/master
Support functions in L.Util.template
2013-03-28 04:24:40 -07:00
Oleg Smith
ea926000f8 Strage behavior of inplace github editor 2013-03-28 15:23:03 +04:00
olegsmith
683642d7e4 Remove trailing whitespace in fix 2013-03-28 15:01:15 +04:00
Vladimir Agafonkin
28d047da74 update build again 2013-03-28 11:11:46 +02:00
Vladimir Agafonkin
547e9936f2 Merge branch 'master' of https://github.com/Leaflet/Leaflet
* 'master' of https://github.com/Leaflet/Leaflet:
  fix enable/disable of marker dragging
2013-03-28 11:11:18 +02:00
Vladimir Agafonkin
28b4854332 update build 2013-03-28 11:10:58 +02:00
Vladimir Agafonkin
08a8c39088 fix moveend not always firing on drag 2013-03-28 11:10:44 +02:00
Vladimir Agafonkin
f1b57f3013 update jake (prev version was having some problems building Leaflet) 2013-03-28 11:10:25 +02:00
olegsmith
d125152c4b Extend L.Util.template
Look at hash function in Wikimapia      
     L.tileLayer('http://{s}{hash}.wikimapia.org/?x={x}&y={y}&zoom={z}&r=7071412&type=hybrid&lng=1', {
        hash: function (data) {
          return data.x % 4 + (data.y % 4) *4;
        }
        , subdomains : 'i'
        , maxZoom: 18
        , attribution: '<a href="http://wikimapia.org" target="_blank">Wikimapia.org</a>'
      }).addTo(map);

http://olegsmith.github.com/leaflet.wikimapia/
2013-03-28 11:03:57 +04:00
Vladimir Agafonkin
c12c653eaa Merge pull request #1551 from escaped/master
fix enable/disable of marker dragging
2013-03-27 15:27:33 -07:00
Alexander frenzel
d904859ba3 fix enable/disable of marker dragging 2013-03-27 21:03:05 +01:00
Vladimir Agafonkin
3c13569147 update cloudmade API key on all debug pages 2013-03-22 16:27:07 +02:00
Vitaly Domnikov
b1742194f4 Popup close button bugfix 2013-03-20 16:24:47 +02:00
Vladimir Agafonkin
b657f32020 Merge pull request #1532 from malexeev/master
Somewhat "safer" _getSubdomain method - now it works even when (tilePoint.x + tilePoint.y) is negative.
2013-03-18 14:26:07 -07:00
malexeev
e110c7bbfe safer _getSubdomain
Note that (tilePoint.x + tilePoint.y) might be negative in some cases (custom CRS with tiled WMS).
2013-03-18 22:54:52 +02:00
Vladimir Agafonkin
a1acaffdf1 Merge pull request #1514 from danzel/featuregroup
Fix adding/removing events on an unstamped context
2013-03-18 12:48:11 -07:00
danzel
a6a4fe5219 Use L.stamp to always have a stamped context on removal too. 2013-03-19 08:33:26 +13:00
danzel
9d4d894450 Add another events test and fix from @iirvine 2013-03-15 13:53:03 +13:00
danzel
5bbfbd9573 Fix whitespace for jshint 2013-03-13 13:08:59 +13:00
danzel
8e65fe7a89 Always stamp the context in addEventListener, makes the optimisation always apply if there is a context. 2013-03-13 10:09:09 +13:00
danzel
44cbed0b5e Replace the FeatureGroup test with a better one in events, this one currently fails 2013-03-13 10:08:04 +13:00
danzel
5269f10885 Fix for #1495 2013-03-12 17:36:17 +13:00
danzel
e2a852639a Add failing test case for #1495 from @iirvine 2013-03-12 17:24:46 +13:00
danzel
9300c58262 Fix copy/paste bug 2013-03-12 17:12:06 +13:00
Vladimir Agafonkin
81221ae4cd fix jshint 1.1.0 errors, update deps and build 2013-03-07 17:39:55 +02:00
Vladimir Agafonkin
b3179548cd Merge pull request #1501 from rassie/patch-1
Disable 3D CSS transforms on PhantomJS
2013-03-06 07:06:44 -08:00
Nikolai Prokoschenko
1c8e0c6901 Disable 3D CSS transforms on PhantomJS
PhantomJS does not support 3D CSS transform even though it's a Webkit product. This patch detects PhantomJS in the user agent and disables 3D transforms.

Details on PhantomJS support are here: https://groups.google.com/forum/#!msg/phantomjs/h7-4-CWsy1g/KX1tlf5gT5IJ
2013-03-06 13:09:35 +01:00
Vladimir Agafonkin
bf54caa1e9 Merge pull request #1490 from danzel/oldie-fixes
Fix opacity in oldie for the millionth time. Refs #1486
2013-03-05 01:36:27 -08:00
danzel
0b0cce929e Fix opacity in oldie for the millionth time. Refs #1486 2013-03-05 09:47:46 +13:00
Vladimir Agafonkin
242919d26b Merge pull request #1487 from danzel/zoom-fixes
Fix zooming on browsers without zoom animation support. Refs #1486
2013-03-04 12:44:03 -08:00
danzel
9ae07469c5 Fix zooming on browsers without zoom animation support. Refs #1486 2013-03-05 09:29:41 +13:00
Vladimir Agafonkin
224810af32 Merge pull request #1476 from jwalgran/master
Add main to package.json
2013-03-01 01:50:03 -08:00
Justin Walgran
360fb06620 Add main to package.json
In order to require() and use Leaflet via browserify requires
that the package define a main entry point for the module.
2013-02-28 20:43:36 -05:00
Vladimir Agafonkin
b993f1fc4b Merge pull request #1471 from snkashis/drag_handling
handle drag listeners properly to avoid errors on marker removal
2013-02-28 03:25:04 -08:00
snkashis
1df4c4a98f work with handlers in right place 2013-02-28 11:01:26 +00:00
snkashis
71167baa52 move test location 2013-02-28 10:47:39 +00:00
snkashis
ed08a5b1dc call disable, not removeHooks 2013-02-28 10:46:54 +00:00
snkashis
95c73a3d77 handle drag handlers properly to avoid errors if moving while removed. 2013-02-28 10:38:27 +00:00
Vladimir Agafonkin
747bd030f8 Merge pull request #1469 from tmcw/getlayers
Add layerGroup#getLayers and tests. Fixes #1460
2013-02-27 14:15:12 -08:00