Commit Graph

6269 Commits

Author SHA1 Message Date
Iván Sánchez Ortega
e9957cfa02 Detect L.Icon.Default.imagePath using CSS. #4604, #3696, #4579 (#4605)
* CSS-based paths for L.Icon.Default. #4604, #3696, #4579

* Unit tests for default icons

* Make CSS icon path detection IE8-friendly

* Backwards compatibility for L.Icon.Default.imagePath override.

* Don't overwrite options
2016-08-22 16:40:03 +02:00
Iván Sánchez Ortega
ffb9a636ca Merge branch 'gh-pages' into master-docs 2016-08-18 11:27:28 +02:00
mtmail
c2161dd1c0 plugins.md - Leaflet.OpenCage.Search moved repositories (#4825) 2016-08-17 16:39:36 +02:00
Steve
92baa9c73f Throw error on call to L.Polygon getCenter before map add (#4820)
* Throw error on call to L.Polygon getCenter before map add

References #4740

* add polyline handling, tests, and docstring
2016-08-15 17:01:41 +02:00
Steve
1a0b08226b Fix broken vector-simple debug/testbed page
`Uncaught TypeError: Cannot read property 'intersects' of undefined`, so rearrange order for an earlier `map.setView()`
2016-08-14 10:20:46 -05:00
Iván Sánchez Ortega
09937e39b0 Add a _leaflet_id to the map container to fix #4806 (#4810) 2016-08-11 09:10:46 +02:00
Iván Sánchez Ortega
e1e121c746 Docstrings: minor typo 2016-08-10 15:48:01 +02:00
Vladimir Agafonkin
35c30a1bcf upgrade deps 2016-08-09 17:51:17 +03:00
Yohan Boniface
bfbe6bc043 Revert "Point rc3 download link to github as a stopgap measure"
This reverts commit f727bac2a6.

Link has been fixed.
2016-08-08 13:15:14 +02:00
Yohan Boniface
bf06b885bf Revert "Prevent Travis from running twice on a PR"
This reverts commit 0cb7b59d87163589f375ff6e439844f22ef8fe85.

This prevents the deploy build too...
2016-08-08 12:37:48 +02:00
Yohan Boniface
ad623f2a36 Merge pull request #4803 from Leaflet/gh-pages-rc3-download
Point rc3 download link to github as a stopgap measure
2016-08-08 10:23:57 +02:00
Iván Sánchez Ortega
f727bac2a6 Point rc3 download link to github as a stopgap measure 2016-08-08 10:00:25 +02:00
Vladimir Agafonkin
ee1dc6d217 Merge pull request #4787 from Leaflet/gh-pages-rc3
Switch gh-pages to rc3
2016-08-05 12:39:17 +03:00
Yohan Boniface
833340752c Bump version; changelog (#4786) 2016-08-05 12:25:56 +03:00
Yohan Boniface
51f9f56869 Merge pull request #4792 from Leaflet/docstrings-nowrap
Docstrings: clarifications about noWrap and wrapLng
2016-08-05 11:04:36 +02:00
Yohan Boniface
6c219810eb Update 1.0.0 reference 2016-08-05 10:38:23 +02:00
Yohan Boniface
2868790108 rc3 blog post 2016-08-05 10:38:20 +02:00
Yohan Boniface
8a8382b86d Switch gh-pages to rc3 2016-08-05 10:37:34 +02:00
Iván Sánchez Ortega
5dda4f4e0e Docstrings: clarifications about noWrap and wrapLng 2016-08-04 16:27:10 +02:00
Yohan Boniface
0b614b10cf Prevent Travis from running twice on a PR (#4766)
Currently, when we open a PR, Travis run twice: once because it's a
PR and once for the last commit of the PR.

This change will make Travis run for *commits* only when
made directly on master (which should not happen that much, but still
happen).
Of course, Travis will still be run for a PR, but only once.
2016-08-04 14:17:31 +02:00
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