Commit Graph

6073 Commits

Author SHA1 Message Date
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
MarcChasse
7451b1fdc3 Add Leaflet.ScaleFactor to plugins.md (#4714) 2016-07-07 09:41:19 +02:00
Yohan Boniface
c263f2d8b1 Make L.Handler.enable/disable return this (#4708)
Those are methods used very often, this can save us a lot of
useless lines.
2016-07-05 12:12:51 +02:00
Yohan Boniface
0726f12bbf Make sure label has been opened before trying to interact with its container 2016-07-05 09:07:36 +02:00
Yohan Boniface
c56d48b3e1 CloseLabel when unbinding 2016-07-05 09:04:56 +02:00
Yohan Boniface
6c7e6d9f9e _originalLabelOffset is never used 2016-07-05 09:03:02 +02:00
Yohan Boniface
b8794346c5 L.Label: use direction=auto as default 2016-07-05 09:00:04 +02:00
LANWEI SU
57fd660861 Update plugins.md (#4703)
Add Polygon extension to set an image to fill the path in SVG
2016-07-04 18:43:07 +03:00
Konrad Klimczak
74dce2266a add Leaflet.Pin plugin to Edit geometries section (#4707) 2016-07-04 18:42:15 +03:00
Jack Dougherty
920058f2da update to hosted https version on NPMCDN (#4679)
https://github.com/Leaflet/Leaflet/issues/4666
2016-07-03 23:51:52 +02:00
Yohan Boniface
04c3b515ec Do not call GridLayer.resetView on moveEnd (fix #4702) (#4704) 2016-07-03 12:09:27 +03:00
Yohan Boniface
d18d661837 More label tests
431579ce4a
needed to make them pass on Phantom
2016-07-02 23:02:48 +02:00
Yohan Boniface
9c8590aebc Refactor Label CSS 2016-07-02 10:56:11 +02:00
Yohan Boniface
2f4b97de19 Add support for "center" Label position 2016-07-02 10:52:04 +02:00
Yohan Boniface
25fd9dfbd9 Move options from PopupBase to Popup 2016-07-02 10:42:12 +02:00
Yohan Boniface
14bfedf7ff Merge branch 'master' into label 2016-07-02 10:36:42 +02:00
Vladimir Agafonkin
1e1926b480 fix logo 2016-07-01 23:21:16 +03:00
Vladimir Agafonkin
f533bd908a Updated Readme Logo (#4701)
* clean up svg logo source

* try raw link

* try rawgit link

* add logo width
2016-07-01 19:51:15 +03:00
Iván Sánchez Ortega
cd30e283cf Fix #4592 by falling back to a legacy ScrollEvent property on Edge. (#4694)
* Fix #4592 by falling back to a legacy ScrollEvent property on Edge.

* Improve consistency of scroll zoom by rounding everything to 60px
2016-07-01 17:09:46 +03:00
Yohan Boniface
87e38f1aa4 Do not resetView on GridLayer.moveEnd (fix #4617) (#4669)
* Do not resetView on GridLayer.moveEnd (fix #4617)

* Only call GridLayer._setZoomTransform when zoomchanged
2016-07-01 13:09:38 +02:00
Iván Sánchez Ortega
8cb745ce0a L.Evented.listens() returns false on removed event handlers, #4474 (#4476)
* Fix L.Evented.listens() on removed event handlers, #4474

* Fix bad unit tests for marker events

* Only check for listerners.length if listerners is actually defined
2016-07-01 11:14:22 +02:00
Per Liedman
2652b63f42 Use pointer-events: visiblePainted as fallback for IE <11 (#4690) 2016-07-01 11:14:13 +02:00
Iván Sánchez Ortega
7add9d4c74 Correct handling of markerZoomAnimation event hooks (#4460)
* Better handling of markerZoomAnimation event hooks, fixes #4453
* Only remove events once on layer remove
2016-07-01 10:52:52 +02:00
Zsolt Ero
26df85e841 maxbounds example fixes (#4680) 2016-06-28 15:14:24 +02:00
Iván Sánchez Ortega
d0538aa29d Fix typo in URL 2016-06-28 10:17:12 +02:00
Iván Sánchez Ortega
810da921f2 Added L.TileLayer.HERE 2016-06-28 10:10:54 +02:00
Per Liedman
01790eacda Ignore events if Draggable is disabled, fixing disabling drag on click in IE11 (#4479)
* Ingore events if Draggable is disabled
Close #3666.

* Add test for verifying fix to #3666
2016-06-27 16:16:03 -07:00