Commit Graph

6037 Commits

Author SHA1 Message Date
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
Iván Sánchez Ortega
434c4e9db3 Clamp eslint to <3.6.0 because of eslint/eslint#7248 2016-09-26 13:48:55 +02:00
ghybs
695b81f2fa docstrings: L.geoJson → L.geoJSON (#4933)
Replaced factory example `L.geoJson` (from Leaflet 0.7) by `L.geoJSON` for consistency with the new factory signature rendered just below in the generated docs.
2016-09-23 10:14:56 +02:00
Iván Sánchez Ortega
c931d330fe Delay firing the 'update' event on renderers (should fix #4928) (#4929) 2016-09-21 19:20:59 +03:00
Iván Sánchez Ortega
6e08ae427d Improve docs for keypress events, local refs from leafdoc templates (#4907) 2016-09-21 17:38:23 +03:00
Johannes Rudolph
3a2106b2cc docs:plungins.md: add Leaflet.nauticscale (#4910) 2016-09-16 14:01:20 +03:00
Johannes Rudolph
68252cb54a docs/plungins.md: add leaflet-ais-tracksymbol-search (#4911) 2016-09-16 14:00:57 +03:00
Alejandro Sánchez
cdbf4d5057 docstrings: return type of GridLayer.getContainer in (#4904) 2016-09-16 09:27:35 +02:00
Alejandro Sánchez
45775be981 docstrings: CRS.getProjectedBounds and CRS.distance (#4918) 2016-09-15 21:29:48 +02:00
Iván Sánchez Ortega
30087eaa1d Plugins: add GridLayer.GoogleMutant 2016-09-15 12:43:01 +02:00
Andris Nolendorfs
62fdf6f642 Fix handling of NaN in getScaleZoom (#4914)
* Fixed an issue when crs.zoom returns NaN in getScaleZoom

* Small documentation fixes
2016-09-15 09:46:53 +02:00
Iván Sánchez Ortega
63fd4edc76 wrap tileBounds if noWrap is false by @fyeah (#4908) 2016-09-12 16:59:21 +02:00
Yohan Boniface
8b3252797a Merge pull request #4902 from JonasDralle/master
fixed dead link
2016-09-11 11:11:02 +02:00
Alejandro Sánchez
55ef437723 Add opacity param to setOpacity jsdoc (#4903) 2016-09-10 23:05:08 +02:00
Jonas Dralle
cc716ca87c fixed dead link
issue #4899

sorry that it took so long.

I already tried to fix this error twice (See #4900 and ##4901)
2016-09-10 11:00:38 +02:00
adoroszlai
554b3cb0a7 Adding leaflet-distance-markers to plugins list (#4891)
* Adding leaflet-distance-markers to plugin list

* Add link to demo for leaflet-distance-markers
2016-09-09 10:48:44 +02:00
Iván Sánchez Ortega
3da57ca377 Add plugin Leaflet.Marker.SlideTo (#4871) 2016-09-05 19:22:23 +03:00
Dag Jomar Mersland
b0b3527cce Add new marker plugin (#4879)
Leaflet.ParallaxMarker by @dagjomar
2016-09-05 19:22:06 +03:00
Iván Sánchez Ortega
183d9327fd Plugins: Add gridlayer.fadeout (#4881) 2016-09-05 19:19:43 +03:00
Jack Dougherty
da2bfe1137 npmcdn.com is being renamed to unpkg.com (#4875)
https://npmcdn.com is being renamed to https://unpkg.com to avoid potential naming conflicts with npm
2016-09-05 13:52:56 +02:00
ghybs
a10d26d199 PLUGINS fix Leaflet.Marker.Stack demo link (#4880)
Link to demo page was broken, replaced by the "color ramps" demo.
2016-09-05 09:20:34 +02:00
Iván Sánchez Ortega
4f69672246 Merge pull request #4877 from npmcdn-to-unpkg-bot/npmcdn-to-unpkg
Replace npmcdn.com with unpkg.com
2016-09-04 15:13:20 +02:00
npmcdn-to-unpkg-bot
45ff45e0cb Replace npmcdn.com with unpkg.com 2016-09-03 06:56:05 +01:00
Per Liedman
ed1a612e6f Make paths insensitive to the order of its map's moveend handlers (#4855)
* Make Paths always update after renderer updates

Close #4851

* Add test

* Add docs for update event

* Remove listener when layer is removed
2016-08-31 17:58:46 +03:00
Iván Sánchez Ortega
2ced69db12 docstrings: Expanded FeatureGroup docs. (#4862) 2016-08-31 17:57:03 +03:00