Commit Graph

6099 Commits

Author SHA1 Message Date
Ville Skyttä
2ed1f2a2db Run *.png through zopflipng -m (#4755) 2016-08-04 14:11:44 +02:00
Lou Huang
03a72717fc Fix option misnamed snapZoom instead of zoomSnap (#4764) 2016-08-04 14:10:28 +02:00
Yohan Boniface
a1d64678f2 Do not call zoomIn/zoomOut on zoomControl click if already at zoom limit (#4791)
fix #4790
2016-08-04 10:56:08 +02:00
Yohan Boniface
c07f43825b Only stop "preclick" on popup open for markers (#4788)
We actually do not toggle the popup on click for L.Path.
2016-08-03 21:37:29 +03:00
Steve
3d2b92af82 Provide oldLatLng during marker dragging (#4752)
* Provide oldLatLng during dragging

References #4736

* Store temporary _oldLatLng on MarkerDrag not _marker
2016-08-02 18:40:28 +03:00
Vladimir Agafonkin
d411c09fde Merge pull request #4767 from Leaflet/close-tooltip-on-touch
Close tooltip on touch
2016-08-02 18:39:13 +03:00
Yohan Boniface
a0ee68558f Close non permanent tooltip on map click on touch (fix #4741) 2016-08-02 16:55:17 +02:00
Yohan Boniface
71d3bc02e5 Move closePopupOnClick from DivOverlay to Popup
This option is only used by popup.
2016-08-02 16:55:17 +02:00
Yohan Boniface
8047b0b7a9 Make sure we call event listeners in the order they are registered (fix #4743) (#4769) 2016-08-02 17:53:06 +03:00
Yohan Boniface
450ef3ec77 Take the popup container margin-bottom into account to compute autopan (#4768)
Fix #4759
2016-08-02 17:52:09 +03:00
Yohan Boniface
e746211be7 Better tooltip offset handling (fix #4772) (#4773)
- default offset is now [0, 0]
- both offset.x and offset.y are always honoured
- positive x always move the tooltip on the right
- positive y always move the tooltip on the bottom
2016-08-02 17:51:22 +03:00
Yohan Boniface
fc1dc96638 Allow to call bindTooltip on a layer not yet added to a map (fix #4778) (#4779) 2016-08-02 17:50:53 +03:00
Yohan Boniface
6dec6660b2 Fix tooltip zoomanimation (fix #4744) (#4765)
Actually something I forgot to port from umap-project/Leaflet.Label
2016-08-02 17:38:08 +03:00
Yohan Boniface
9720d769a4 Merge pull request #4770 from haoliangyu/chore/pluginGuide
fix a broken link at PLUGIN-GUIDE.md
2016-07-30 22:09:47 +02:00
haoliangyu
be816acdc4 fix broken link 2016-07-30 15:52:47 -04:00
Steve
c01adbfaa9 Merge pull request #4751 from snkashis/remove_mapquest
Remove usage of mapquest tiles from debug pages
2016-07-25 12:57:47 -05:00
Steve Kashishian
7738565a33 Remove usage of mapquest tiles from debug pages 2016-07-25 12:39:55 -05:00
Matthew Mueller
e0f6846d8b correcting month of rc2 release on website. (#4746) 2016-07-21 20:02:24 +02:00
Vladimir Agafonkin
5f2f41bf0f Merge pull request #4734 from Leaflet/gh-pages-rc2
Switch gh-pages to rc2
2016-07-18 15:30:44 +03:00
Iván Sánchez Ortega
7310adbea6 Minor typo 2016-07-18 12:43:32 +02:00
Iván Sánchez Ortega
756444ae02 Update reference to 1.0.0-rc2 generated by leafdoc 2016-07-18 12:36:39 +02:00
Iván Sánchez Ortega
c22a57be69 rc2 post: link to 1.0.0-final milestone 2016-07-18 12:31:52 +02:00
Iván Sánchez Ortega
5b755144e3 rc2 post: things pushed out of rc2; link to tooltip docs 2016-07-18 12:01:48 +02:00
Yohan Boniface
03460f7406 Set rc2 release date in changelog 2016-07-18 11:44:41 +02:00
Yohan Boniface
f77324eb34 Fix typo in blog post 2016-07-18 11:01:27 +02:00
Yohan Boniface
fd2dfeca93 First shot of rc2 blog post 2016-07-17 10:26:01 +02:00
Vladimir Agafonkin
7e4a477a26 Merge pull request #4733 from Leaflet/rc2-release
Rc2 release
2016-07-15 14:57:27 +03:00
Yohan Boniface
02e4da4232 Switch gh-pages to rc2 2016-07-15 12:49:40 +02:00
Yohan Boniface
e483bf4ea1 Add L.Tooltip in CHANGELOG 2016-07-15 12:18:09 +02:00
Yohan Boniface
406e1f660a Bump version 2016-07-15 12:15:46 +02:00
Vladimir Agafonkin
94303a681b Merge pull request #3952 from Leaflet/label
Implement L.Label
2016-07-15 13:06:36 +03:00
Vladimir Agafonkin
601cb5b594 Merge pull request #4715 from Leaflet/changelog-rc2
Prepare rc2 changelog
2016-07-14 17:01:18 +03:00
LANWEI SU
ae2492def9 Add leaflet.latlng-graticule to plugins.md (#4728)
* Add a plugin that create a canvas as ImageOverlay to draw the Lat/Lon Graticule, and show the grid tick label at the edges of the map.
2016-07-14 12:11:14 +02:00
ghybs
908eef5523 Plugins added Leaflet Polyline Offset (#4727)
from Benjamin Becquet (also author of several other listed plugins).
2016-07-14 09:40:47 +02:00
Vladimir Agafonkin
d021564aaf Merge pull request #4697 from Leaflet/fab1an-perf-events-refactor
refactoring of events, it should be about 4 times faster now
2016-07-11 13:00:15 +03:00
Dave Leaver
a33a692e22 Fix up /danzel/ links (#4717) 2016-07-11 10:56:42 +02:00
Per Liedman
0bcfbdb537 Cleanup, tests and minor bug fixes for event system 2016-07-08 15:01:38 +02:00
Fabian Zeindl
0210071dad refactoring of events, it should be about 4 times faster now 2016-07-08 14:47:02 +02:00
Yohan Boniface
41da75c41c Refining tooltip css 2016-07-08 14:30:04 +02:00
Yohan Boniface
64ba1f7f95 Rename Label in Tooltip, PopupBase in DivOverlay 2016-07-08 13:51:18 +02:00
Per Liedman
d70602eb60 Fix documentation of default for wheelPxPerZoomLevel 2016-07-08 13:15:45 +02:00
Iván Sánchez Ortega
dd133398ba rc2 changelog typos and formatting 2016-07-08 12:40:07 +02:00
Yohan Boniface
cfb9ead57a Prepare rc2 changelog 2016-07-08 12:17:20 +02:00
Yohan Boniface
a1e43ed3bb spaces to tabs in label.html debug page 2016-07-08 11:44:10 +02:00
Yohan Boniface
a6529d0ddf Typo in labelPane docstring 2016-07-08 11:37:01 +02:00
Yohan Boniface
fe3649f032 Default L.Label border and tip to white 2016-07-08 11:33:53 +02:00
Yohan Boniface
bd2616f901 Do not rely on options.draggable to compute draggableMoved (#4638)
One can enable dragging of a marker after it has been initialized
with draggable=false.
2016-07-08 11:22:54 +02:00
Yohan Boniface
f8221e09f7 We now load CSS in Phantom, so no need to skip those tests 2016-07-08 11:08:25 +02:00
Yohan Boniface
0dd58bd01f Merge branch 'master' into label 2016-07-08 11:07:22 +02:00
Yohan Boniface
5dfc3364d1 Allow to make screenshots in Phantomjs (#4705)
* Load CSS in PhantomJS

* Allow to take screenshot in PhantomJS while running tests

For that, one need to run this call:

    window.top.callPhantom({'render': 'screenshot.png'});

* Make PhantomJS serve images

* Bonus: those tests now passe in Phantom too

* Add helper to make screenshot in tests

	takeScreenshot();

or

	takeScreenshot('path/to/screenshot.png');
2016-07-08 11:05:12 +02:00