Commit Graph

23 Commits

Author SHA1 Message Date
Colby Rogness
caab168894 docs(quick-start): add warning to place CSS before JS to quick start example (#5610) (#5614) 2017-07-09 11:00:30 +02:00
Sven
170bdc8075 GeoJSON remark about the reversed coords (#5604)
* GeoJSON remark about the reversed coords

oh man, that took me a while of debugging

* Reword sentence on coordinate axis order somewhat
2017-07-05 09:34:14 +02:00
Iván Sánchez Ortega
90a8d88460 Tutorials: rewrite the paragraph about the mapbox map IDs, hopefully it reads easier now. (#5572) 2017-06-21 12:36:12 +02:00
john gravois
bcaa716f16 dont new up layerGroup in live sample (#5521) 2017-05-22 12:34:53 +02:00
Stöger Florian D. M
f049129868 ce (#5513) 2017-05-15 09:43:04 +02:00
Per Liedman
c7cc70f2a5 Fix link to reference.html; close #5485 2017-05-11 22:10:10 +02:00
Iván Sánchez Ortega
561b7f737b Add subresource integrity information & scripts (#5468)
* Add subresource integrity information & scripts

* Include the integrity hashes in all tutorials also

* Change wording of one of the build scripts
2017-04-19 14:56:14 +02:00
Iván Sánchez Ortega
61ff641951 Add new class L.VideoOverlay (#4988)
* Add VideoOverlay class based on ImageOverlay

* Make linter happy

* Move VideoOverlay include to layer/index

* Fix mapbox tokens
2017-04-04 22:45:09 +02:00
Iván Sánchez Ortega
79ab486dde WIP: Tutorial about zooming. (#5007)
* Add tutorial about zooming.

* Punctuation fixes
2017-04-04 22:04:46 +02:00
Dan Turkel
b80b2e4f99 Escape html elements inside code sample (#5432)
The markup renderer will still literally render html tags inside "pre" and "code" unless they're escaped. The result was that the example code would be rendered as:
var baseMaps = {
	"Grayscale": grayscale,
	"Streets": streets
};
rather than
var baseMaps = {
	"<span style='color: gray'>Grayscale</span>": grayscale,
	"Streets": streets
};
because the "Grayscale" text would be literally styled as a span with gray color, and then recolored by the syntax highlighter.

Escaping the span tags fixes this.
2017-04-04 21:31:36 +02:00
Lyzi Diamond
7391e308cc rotate access tokens (#5338) 2017-02-16 09:44:50 +02:00
Uzerus
cab880d4d8 type attribute not required in HTML5 2017-02-06 20:32:50 +01:00
Mark Lee
7c96246044 docs: fix quick start link in mobile tutorial (#5192) 2016-12-15 09:43:30 +01:00
Lazarev Alexandr
4a75faf2ef tutorials: Fixed broken relative links (#5099)
* Fixed broken realtive links

* Fixed links

* Convert relative link to ./

* Convert relative link to ./
2016-11-15 10:41:38 +01:00
Jouke Witteveen
814fe5dab4 Fix language (#5023)
These struck me when reading the controls section.
2016-10-20 15:49:29 +03:00
John Muccigrosso
d135fc4527 Fix language (#5022)
1. Improve some of the language to be more readable
2. Correct reference to night style base map, which isn't actually used
3. Add detail that it's possible to style the text in the control
2016-10-20 15:48:48 +03: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
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
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
npmcdn-to-unpkg-bot
45ff45e0cb Replace npmcdn.com with unpkg.com 2016-09-03 06:56:05 +01:00
Nikolai
96248fe5f1 Edge also has problems with bringToFront (#4848) 2016-08-26 12:37:34 +02:00
Iván Sánchez Ortega
ffb9a636ca Merge branch 'gh-pages' into master-docs 2016-08-18 11:27:28 +02:00