17 Commits

Author SHA1 Message Date
chcederquist
9b89ab4eb5
Updated title and descriptions of docs (#9692)
Co-authored-by: Florian Bischof <design.falke@gmail.com>
2025-05-09 18:47:17 +02:00
Simon Legner
322be5b7f4
Use arrow callback and shorthand methods (#9659) 2025-04-20 15:11:40 +02:00
Florian Bischof
712ae1542a
Refactor docs for ESM (#9624) 2025-04-10 20:18:44 +02:00
Mihai Adauji
3443bd9c86
update docs, removing outdated references to Leaflet pre-1.0 (#9229)
Co-authored-by: Adauji <5890802@ez.edeka.net>
2024-01-26 14:46:24 +02:00
Jon Koops
119785e3a9
Enable no-var linting rule and fix issues (#8602) 2022-10-20 21:18:26 +02:00
Jon Koops
d777c79f7a
Enable prefer-arrow-callback linting rule and fix issues (#8594) 2022-10-20 00:10:54 +02:00
Florian Bischof
999a074eb8
Add Ukraini dialog (#8177)
* Add Ukraini dialog

* Fix lint

* Make it more keyboard-user friendly

* Change close element to button and add dialog as first element
2022-04-25 11:57:58 +03:00
Iván Sánchez Ortega
c94faa201a
Taking down the website. (#8025)
* Taking down the website.

* Prevent linting errors on moved-away website stuff

* Add quote style

* fix css

* rm duplicated templates

Co-authored-by: falke-design <design.falke@gmail.com>
2022-02-27 13:22:37 +01:00
Robert Linder
4a5f192094
Compress thumbnails for tutorials (#8002) 2022-02-14 18:51:25 +01:00
Vladimir Agafonkin
80279dd98b
Lint examples (#7827)
* lint examples

* examples lint fixes

* more lint fixes

* fixes

* final fixes
2021-11-29 16:31:54 +02:00
Clark Winkelmann
e793eba9a0 Update Carto tiles and attribution links to HTTPS (#6706)
* Update Carto tiles and attribution links to HTTPS

* Fix indentation of zoom level examples
Having both backtick and tab code block caused the tabs to be visible
2019-06-26 16:19:04 +02:00
Elias Ojala
684415e3f4 cartocdn https 2018-05-04 15:14:45 +03:00
Roman Zoller
5ffe207921 Use https everywhere for OSM links (#6082)
* Use https everywhere for OSM tile URLs

Use
https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png

instead of
http://{s}.tile.osm.org/{z}/{x}/{y}.png
http://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png

* Use https everywhere for OSM attribution link

Use
https://www.openstreetmap.org/copyright

instead of
http://www.openstreetmap.org/copyright
http://osm.org/copyright
2018-03-12 08:46:20 +01:00
ghybs
80ee940e14 Docs(tutorials): map panes use more explicit tiles (#6018)
so that it is more obvious what the difference is between the base map, the labels, and when both are stacked.
The chosen tile is similar to the initial view of the result example below (example.html), and contains many labels.
2018-01-19 10:40:45 +01:00
Guillaume Rischard
b22ca31716 Optimised images. Saved 1.1 MB out of 9.7 MB. 22.3% per file on average (up to 62%) (#5936) 2017-11-22 15:33:24 +01:00
Andrew
748905cbf5 Fix docs redirects (#5824)
* use redirected.html instead of jekyll-redirect-from

* modify redirected.html to preserve url hases

* fix links in zoom-levels example

- use relative links instead of absolute
- remove hardcoded version in lins and refer to latest version docs instead

* fix hash in choropleth example

* fix links in geojson example

 - use relative links instead of absolute

* fix absolute link in quick-start example

* fix link in video-overlay example

* fix link in map-panes example

* fix link in wms example

* fix link in geojson example

* fix relative reference links
2017-10-05 15:34:04 +02: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