Commit Graph

6600 Commits

Author SHA1 Message Date
ghybs
a5ca3d4c9d Revert "Test(GridLayer): add 2 new tests for zoom-in/-out in graphical browsers (#6201)" (#6221)
For some reason these test pass fine in PR Travis CI, but fail most of the time in Master Build Travis CI (see also https://github.com/Leaflet/Leaflet/pull/6207). Since they are just extra tests, we can happily remove them for now. If the root cause is found later on, it will be easy to merge them back.

This reverts commit 380c44fe04.
2018-07-06 10:08:45 +02:00
ghybs
ba1b253126 docs(GeoJSON): tutorial update quote
from RFC 7946 introduction for consistency.
2018-07-05 14:12:36 +03:00
ghybs
4c9e7cac4c docs(GeoJSON): use RFC link for previous HTML docs
RFC 7946 was officially published in August 2016, i.e. before Leaflet version 1.0.0 (Sep 2016). The previous GeoJSON spec website (geojson.org) displays a big "obsolete" disclaimer on it, making it confusing for developers which version they should refer to. Replace the link to use the RFC that was in use at that time, on all HTML docs since it was available, i.e. from Leaflet 1.0.0.
2018-07-05 14:12:36 +03:00
ghybs
9eb260d9f7 docs(GeoJSON): use RFC link in HTML docs
for current API documentation version (1.3.0/1.3.1) so that it is up to date. It is likely that this docs version will remain the current one for quite some time, given the release pace.
2018-07-05 14:12:36 +03:00
ghybs
e9ba7643d3 docs(GeoJSON): use RFC page in tutorial
for consistency.
2018-07-05 14:12:36 +03:00
ghybs
35e07a947c docs(GeoJSON): update link to RFC page
use the "new" RFC 7946 page (official GeoJSON specification) instead of the obsolete geojson.org website.
2018-07-05 14:12:36 +03:00
Erick Escalante Olano
95b34edbba docs(plugins): add Leaflet-Select-Polygons (#6171) 2018-06-26 15:48:36 +04:00
ghybs
380c44fe04
Test(GridLayer): add 2 new tests for zoom-in/-out in graphical browsers (#6201)
* test(GridLayer): add zoom-in for graph browser

Add a new test for "graphical browsers" for zoom-in animation, not relying on sinon.useFakeTimers so that it lets the animation executing on its own, and is less prone to breaking when the animation process is changed internally.

* test(GridLayer): add zoom-out for graph browsers

Add a new test for "graphical browsers" for zoom-out animation, not relying on sinon.useFakeTimers so that it lets the animation executing on its own, and is less prone to breaking when the animation process is changed internally.
2018-06-26 09:27:54 +04:00
Andrew Cherniavskii
9fda888df2 Test(TravisCI): run tests in Firefox (#5831)
* trying to run tests in FF

* run tests in PhantomJS first

* add chrome test run to travis

* Revert "add chrome test run to travis"

This reverts commit 933f7b5e038722b18b62180edfe4cf19aadc11ab.

* update Firefox test script in Travis CI

* use latest version of Firefox in TravisCI tests

* fix firefox artifact signature in travis config

* trying to set screen size with xvfb-run

* increase screen size

* remove DISPLAY env variable
2018-06-25 15:34:32 +04:00
Andrew Cherniavskii
757e7b6833
Merge pull request #6202 from ghybs/testGridLayerGraphicalBrowsersPanKeepBuffer
Test(GridLayer): fix 2 pan tests with keepBuffer=0 for graphical browsers
2018-06-25 10:43:22 +02:00
JLuc
7d6155b6f0 docs(Browser): more acurate 'retina' flag explanation (#6203)
See https://github.com/Leaflet/Leaflet/issues/6195#issuecomment-399510164
2018-06-25 12:13:59 +04:00
JLuc
a9f9b14a55 docs(Browser): more acurate 'retina' flag explanation #6203 (#6206)
As per issue https://github.com/Leaflet/Leaflet/issues/6195#issuecomment-399510164
2018-06-25 12:12:43 +04:00
Andrew Cherniavskii
079be526f4
Merge pull request #6199 from ghybs/testGridLayerGraphicalBrowsers
test(GridLayer): fix zoom-in/-out for graphical browsers
2018-06-25 09:44:32 +02:00
McBen
d8aa452144 Canvas: allow reset of dashArray and allow array-type as option (#6200) 2018-06-22 20:14:26 +03:00
ghybs
e54128cbae docs(plugins): add defaulticon-compatibility plugin (#6190)
to Frameworks & built systems section.
Added as first plugin in list, so that developers have less chance missing it, and it is useful to many integrations.
2018-06-22 20:10:57 +03:00
ghybs
abeff4d543 test(GridLayer): fix pan move&forth graph browsers
because graphical browsers, even in non-animated pan, will still perform tile fade-in animation, which require some frames before calling _pruneTiles().
2018-06-22 16:06:17 +04:00
ghybs
bed7cd101e test(GridLayer): fix pan keepBuffer graph browser
because graphical browsers, even in non-animated pan, will still perform tile fade-in animation, which require some frames before calling _pruneTiles().
2018-06-22 15:57:40 +04:00
ghybs
d557247d16 style(GridLayerSpec): remove trailing tabs 2018-06-22 12:35:04 +04:00
ghybs
c2d12d0521 test(GridLayer): fix graphical browser zoom out
test on number of pruned tiles during zoom-out in "graphical browsers" (i.e. not PhantomJS) was failing due to incorrect interleaving of rAF and grid.once('load') event listener, not matching the current animation algorithm.
2018-06-22 12:15:22 +04:00
ghybs
5993deb4c8 test(GridLayer): fix graphical browser zoom in
test on number of pruned tiles during zoom-in in "graphical browsers" (i.e. not PhantomJS) was failing due to missing some rAF to let the animation process fully go through and be able to prune the remaining 4 tiles.
2018-06-22 12:09:42 +04:00
Jan Žák
7c33eab7c5 Plugins: Add leaflet-lasso (#6197) 2018-06-22 09:12:41 +02:00
ghybs
8c3eaaf3e8 test(Map): set div width for getBoundsZoom parameter inside, Firefox (#6192)
* test(Map): set div width for getBoundsZoom inside

in particular Firefox has a different default width than PhantomJS, making the result different than the expected one. Wider container => can zoom higher to fit the specified bounds.

* docs(Map): getBoundsZoom add padding

3rd argument docstring.
2018-06-20 12:25:05 +02:00
Sumit Kumar
faa2bd0dac Plugins: update description for Leaflet.pm (#6191) 2018-06-20 09:46:55 +02:00
Patrick Cate
c5712fb9e9 Plugins: Added Vue2Leaflet (#6189) 2018-06-18 01:39:53 +02:00
M.Çağrı Tepebaşılı
0b6e0cd24b Add Leaflet.jsf /java server faces) plugin to the list
added a new plugin to plugins.md
2018-06-07 12:40:23 +02:00
Andrew Cherniavskii
5161140e95
Merge pull request #6164 from tcoupin/master
Plugins: add L.Control.PaintPolygon
2018-05-21 15:16:35 +03:00
Thibault Coupin
9f08a23f7f
Plugins: add L.Control.PaintPolygon 2018-05-20 16:49:56 +02:00
ronikar
24a2512b1b Update plugins.md (#6153) 2018-05-17 10:15:20 +02:00
Roman Zoller
95d6eca24c Plugins: Add Leaflet.TileLayer.Swiss (#6161) 2018-05-17 10:13:33 +02:00
Dave Leaver
00cc6ff119 Clear _resizeRequest when the map is removed (#6160) 2018-05-16 20:55:52 +03:00
Andrew Cherniavskii
fb09dd24c4
Merge pull request #6151 from theel0ja/master
Fix mixed content warnings
2018-05-05 21:28:59 +03:00
Elias Ojala
f07bc77f7f leafletjs.com https 2018-05-04 15:22:36 +03:00
Elias Ojala
60c6fa8a3e placekitten 2018-05-04 15:21:43 +03:00
Elias Ojala
ad785f2cf6 fixed a link 2018-05-04 15:21:36 +03:00
Elias Ojala
74bd6e2933 leaflet.github.com 2018-05-04 15:20:26 +03:00
Elias Ojala
525a98d20e leaflet.github.io 2018-05-04 15:19:57 +03:00
Elias Ojala
3dea761920 leafletjs link 2018-05-04 15:19:15 +03:00
Elias Ojala
ba891024d2 osm link 2018-05-04 15:18:40 +03:00
Elias Ojala
d00a355d6b mapbox link 2018-05-04 15:17:41 +03:00
Elias Ojala
7c6a7b0d6b creativecommons https 2018-05-04 15:17:13 +03:00
Elias Ojala
bd8e8bc4a3 https some gifs 2018-05-04 15:15:50 +03:00
Elias Ojala
684415e3f4 cartocdn https 2018-05-04 15:14:45 +03:00
Elias Ojala
770b88e89b https 2018-05-04 15:14:00 +03:00
Elias Ojala
50d5a0956e http://leafletjs.com/ -> https://leafletjs.com/ 2018-05-04 15:08:47 +03:00
Elias Ojala
08068b77c3 Disqus 2018-05-04 15:08:29 +03:00
Vladimir Agafonkin
a0ca28af29 Create CNAME 2018-05-03 18:19:02 +03:00
Vladimir Agafonkin
4a4326a382 Delete CNAME 2018-05-03 18:18:53 +03:00
Sergej Orlov
aaded0d926 Fixed view bounds calculation in geolocation event handler (#6139) (#6140) 2018-04-27 17:26:44 +02:00
Jan Pieter Waagmeester
bd89edd567 Fix typo in LatLng docstring. (#6138) 2018-04-20 21:12:23 +02:00
Denys Dovhan
0e9797edce Refactor(gitignore): ignore package-lock.json and yarn.lock explicitly (#6127)
https://github.com/Leaflet/Leaflet/pull/6124#issuecomment-379366811
2018-04-10 10:28:11 +04:00