Commit Graph

6061 Commits

Author SHA1 Message Date
Per Liedman
08a140fc30 Add plugin Leaflet Touch Helper 2016-10-14 14:04:01 +02:00
Per Liedman
17f1815005 Add plugin Leaflet Measure Path 2016-10-14 13:54:30 +02:00
erick
d2add3dd5c docstrings: add clarification for projection; closes #4817 (#5010)
* Fix doc: add clarification for projection; closes #4817

Adds clarification in the documentation that specifies that the
`project` and `unproject` methods cannot take in arrays, but only
actual instances of `L.LatLng` and `L.Point`, respectively.

* Fix doc: add clarification for transform methods

Changes the word "real" for the word "actual" so that people don't
confuse actual instances of `L.Point` with coordinates using real
numbers.
2016-10-12 09:22:05 +02:00
Serdar Kaçka
eff82bfbbe docs: Fix path of Code Coverage report page on CONTRIBUTING.md file (#5005) 2016-10-11 16:39:51 +02:00
Per Liedman
b144d2f13e Fix docs typo: extend MyClass, not L.Class; close #5009 2016-10-10 12:49:19 +02:00
Iván Sánchez Ortega
d40d82a226 Docs: Add the plugin tutorials from #4356 (#4854)
* Docs: Add the plugin tutorials from #4356

* Include ImageOverlay in class diagram
2016-10-07 16:45:02 +02:00
Adam Roberts
fd438cb277 Plugins: addition of Leaflet.CondensedAttribution (#5006) 2016-10-06 18:10:46 +02:00
Iván Sánchez Ortega
16e04741a2 Docstrings: Marker.toGeoJSON 2016-10-06 09:15:05 +02:00
Iván Sánchez Ortega
d048e77a59 Link to "The Art of README" in the plugin guide (#5001) 2016-10-03 16:41:20 +03:00
Per Liedman
350919b2ff Use all four corners when projecting ImageOverlay during animation (#4993)
Close #4886.
2016-10-02 22:07:05 +03:00
John Muccigrosso
7f350e4442 docstrings: Better description for easelinearity (#4994) 2016-10-02 16:23:11 +02:00
Sumit Kumar
c2330c7ce6 Updated leaflet.pm description (#4990) 2016-10-01 22:02:57 +03:00
Vladimir Agafonkin
863cf74461 move zoom animation code into Map.js 2016-09-30 19:51:01 +03:00
Vladimir Agafonkin
ff73971294 move pan animation code into Map.js 2016-09-30 19:51:01 +03:00
Vladimir Agafonkin
5110298c45 get rid of separate Layer.Popup.js and Layer.Tooltip.js 2016-09-30 19:51:01 +03:00
Vladimir Agafonkin
88b593b7ab move flyTo to Map.js 2016-09-30 19:51:01 +03:00
Vladimir Agafonkin
d0879e14af move geolocation methods to Map.js 2016-09-30 19:51:01 +03:00
Vladimir Agafonkin
e3545bc9b9 move marker extensions to Marker.js 2016-09-30 19:51:01 +03:00
Michal Haták
7ec434e505 docs:plugins.md: add Leaflet-gplaces-autocomplete (#4949) 2016-09-30 16:44:03 +02:00
Dan Brown
4c8aff03fd add link to "leaflet-betterscale" (#4987)
This is a more GIS-like scale bar with alternating black/white bars.
2016-09-30 17:40:40 +03:00
Iván Sánchez Ortega
c7a129ba9c Docs: Fix leatest/latest leaflet version 2016-09-30 14:37:01 +02:00
Iván Sánchez Ortega
0ff89b7b33 Changelog for 1.0.1 2016-09-30 14:19:56 +02:00
Iván Sánchez Ortega
9a1d786075 Version bump to 1.0.1 2016-09-30 14:19:56 +02:00
Iván Sánchez Ortega
60b35c0920 Docs: Make the latest leaflet version into a Jekyll variable, for templates. (#4986) 2016-09-30 15:10:33 +03:00
Iván Sánchez Ortega
6ee1a6eb65 Clean up docs/examples - one directory per tutorial, more templating. (#4965)
* Clean up docs/examples - one directory per tutorial, more templating.

* Fix some URLs

* tutorials: update rendered CDN links to 1.0.0 and L.circle signature (#4975)

* Update shown CDN links to 1.0.0

As initially done in PR #4967, but just for the rendered links (what the users sees), as actual link / script tags are already updated.

* DOCS update L.circle to new syntax

in quick-start tutorial, following PR #4974.

* DOCS update L.circle to new syntak (example src)

updated L.circle to new signature (radius as an option instead of 2nd parameter).

* tutorials: use L.geoJSON new syntax (#4983)

* tutorials: use new syntax L.geoJSON

for consistency with recommended factory new syntax (`L.geoJSON` instead of legacy `L.geoJson`).
As done in PR #4933 for docstrings.

* tutorials: L.geoJSON new syntax in script

* Renamed several files to directory/index.md
2016-09-30 13:56:05 +02:00
ghybs
d0ffe8a1ab docstrings: L.GeoJSON functions to methods
Corrected docstrings of L.GeoJSON for methods (addData, resetStyle, setStyle) to be really counted as "methods" instead of static "functions" (geometryToLayer, coordsToLatLng, coordsToLatLngs, latLngToCoords, latLngsToCoords, asFeature)
2016-09-30 13:59:58 +03:00
ghybs
bc01b2b30b docstrings: explicit effect of L.GeoJSON filter
Following https://stackoverflow.com/questions/39776919/how-to-reference-the-data-of-an-existing-geojson-leaflet-object/39787583#39787583, sounds like the current definition "decide whether to show a feature or not" implies that the data is retained in memory, but just not shown.

Replaced "show" by "include" to try to make it clearer that the filtered out data is _lost_ (not retained at all within the group).

Also took the opportunity to add a note about changing the `filter` option dynamically (no re-evaluation of child layers, whether they meet the new filter conditions or not).
2016-09-30 13:59:58 +03:00
Jeff Barnes
837d190933 Fix webpack using valid image file for default icon path (#4849) (#4979) 2016-09-30 13:11:52 +03:00
Babajide Fowotade
6b0808d6f0 Don't load class leaflet-tile-loaded in case of error (#4980) 2016-09-30 09:28:42 +02:00
Steve Kashishian
c624a3ed50 remove explicit image path on two debug pages 2016-09-29 15:12:08 -05:00
ghybs
628fc04333 docstrings: update L.circle example to match new syntax (#4974)
docstrings: update L.circle example to match new syntax
2016-09-29 13:21:11 +02:00
Iván Sánchez Ortega
9cd41c0985 Update README.md: Leaflet 1.0.0 weights 37KiB, not 33KiB 2016-09-29 12:46:46 +02:00
Matthew Brener
9bb516970e docstrings: its to it's where appropriate in GridLayer.js (#4963)
Very nitpicky I know.
2016-09-28 10:53:33 +02:00
Vladimir Agafonkin
7e772661e5 update changelog 2016-09-28 01:14:21 +03:00
Per Liedman
d10077e13e Fire update event from VML renderer (#4956)
Close #4950.
2016-09-27 19:59:40 +02:00
Vladimir Agafonkin
52a3eefbc2 add a 1.0 notice on frontpage (#4955) 2016-09-27 19:31:58 +03:00
Vladimir Agafonkin
fd8c2599ef fix icon url warnings in tests 2016-09-27 17:58:08 +03:00
Vladimir Agafonkin
44176d9cea remove rc tag from the build script 2016-09-27 16:22:54 +03:00
Iván Sánchez Ortega
d1c3b45773 Point download and CDN to 1.0.0 (final), point docs to 1.0.0, rm 0.6 doc stuff (#4948) 2016-09-27 16:08:37 +03:00
Vladimir Agafonkin
8391bcece0 Leaflet 1.0 announcement blog post (#4945)
* Leaflet 1.0 announcement blog post

* added some cool gifs

* some blog fixes

* 1.0 blog post: add top image and minor fixes

* add an alt text
2016-09-27 14:53:28 +02:00
Vladimir Agafonkin
fdf6b92be3 upgrade some deps 2016-09-27 13:46:25 +03:00
Vladimir Agafonkin
11533003c0 update version to 1.0.0 2016-09-27 13:32:00 +03:00
Yohan Boniface
79778ebbac Adding an ISSUE_TEMPLATE.md (#4906)
* Adding an ISSUE_TEMPLATE.md

* imply -> rely on

* Fix typo in ISSUE_TEMPLATE
2016-09-27 12:54:50 +03:00
Edgard Lorraine Messias
6bb703ca7c docstrings: Removed incorrect semicolon (#4943) 2016-09-27 10:05:17 +02:00
Edgard Lorraine Messias
db7482a561 docstrings: Removed incorrect semicolon (#4942) 2016-09-26 19:06:54 +02:00
Iván Sánchez Ortega
927e679041 Minor changelog update 2016-09-26 16:45:10 +02:00
Yohan Boniface
e28f7ae984 Do not fail when closing an interactive tooltip not yet added to the map (#4937) 2016-09-26 16:40:51 +03:00
Iván Sánchez Ortega
79d8837b1f Version bump to 1.0.0; update 1.0.0 docs based on leafdoc (#4940) 2016-09-26 16:21:40 +03:00
Iván Sánchez Ortega
62712fe0d0 Updated changelog for 1.0.0 (#4939)
* Updated changelog for 1.0.0

* Add some missing parenthesis
2016-09-26 16:21:05 +03:00
Iván Sánchez Ortega
04539383f0 Tweak TravisCI config 2016-09-26 14:23:56 +02:00