76 Commits

Author SHA1 Message Date
Robert Linder
c46b6f044e
Fix links in accessibility guide (#8198) 2022-04-28 11:46:42 +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
Jon Koops
44e4975339
Rename master branch to main (#7921) 2022-01-19 12:46:44 +02:00
Alexandria Quelle
d00a8b28ae
Added clarification (#7819)
Added a sentence to indicate when the code examples switch from HTML and CSS to JS for clarity
2021-12-02 21:32:14 +02: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
Vladimir Agafonkin
326211d5d4 add linting to examples (WIP) 2021-11-29 15:56:50 +02:00
Falke Design
1e7f27331a
Simplifiy examples (#7816)
* Replace mymap with map

* Updated quick-start - added variables

* Add variable names

Add variable names

* Replace blanks with tabs
2021-11-26 22:17:11 +02:00
Mateusz Konieczny
a37f0297af
simplify. update description - geojson is popular (#7602) 2021-11-11 16:03:10 +01:00
Alexandria Quelle
d03a2d09aa
Minor typos (#7758) 2021-11-09 09:42:40 +01:00
William Entriken
671c7c8bcb
Use "map" as HTML element id everywhere (#7696) 2021-10-29 16:34:17 +03:00
Andreas Hubel
c0bf09ba32
fix outdated osm attribution texts + url (#7345) 2020-12-08 14:17:22 +02:00
Andreas Nüßlein
1ae785b730
Docs: Fix tiny typo - WMTS vs WTMS (#7098) 2020-04-17 15:54:16 +02:00
vncntcltt
c6d8a51da3 Update WMS tutorial using Mundialis WMS (#4239) 2020-03-11 12:56:38 +02:00
vncntcltt
5e93da5c70 Fix JS error on non-mobile devices (issue #4239) 2020-03-11 12:56:38 +02:00
Josh Erb
cd12b94a4d
[docs] correct Mapbox examples' tileSize (#6995)
* update debug pages

* correct tileSize & zoomOffset for all Mapbox examples
2020-02-14 01:49:03 +01:00
ekbarber
3acb64d900 fix broken url template link (#6982)
went to the right page, but an invalid heading
2020-01-27 15:49:17 +02:00
Iván Sánchez Ortega
214cd3e368
CRS.simple tutorial: Link to waybackmachine snapshot of UQM tool 2019-12-12 11:48:52 +01:00
Dan Swick
8733108138 update mapbox attribution URL (#6922) 2019-12-02 11:49:16 +02:00
Vladimir Agafonkin
7882015ee8 fix typo in choropleth example 2019-11-29 10:04:40 +02:00
Josh Erb
4a8e55b0c4 [docs] Update Doc Examples to Use Modern Endpoint (#6905)
* update the first few examples

* Update all legacy Static API urls with modern URLs

* Add missing map??

* oops stray png

* Remove example.html
2019-11-28 08:41:37 +02:00
Saad Saif
bee751645d update index.md in zoom example (#6823) 2019-10-01 11:17:05 +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
ghybs
525492bb53 docs(tutorial): fix mobile locate accuracy snippey (#6693)
Following PR #6140, the code snippet of mobile tutorial for "locationfound" event needs to be corrected accordingly.
2019-06-12 09:20:38 +02:00
JinHan2002
a6987a9362 Fixing a typo (#6626)
'lets' should be 'let's'
2019-04-28 13:43:29 -03:00
Stefano Cudini
aa91af4749 Typo in tutorials 2019-03-03 14:19:13 +01:00
Ilya Ilyankou
c7b3dbdb00 Minor spelling corrections in Docs/Tutorials (#6464)
* continous -> continuous

* Minor spelling and styling corrections

* occured -> occurred

* mosly -> mostly

* Update Map.js
2019-01-09 14:02:37 +01:00
Vincentdecursay
166de91dd3 The earth is not a potato (#6326)
* The earth is not a potato

The gif you are showing as been around for a lot of time but it show the change of gravity around the earth not it's shape.
Look this article and on the description of wikipedia where you took the gif from:
https://motherboard.vice.com/en_us/article/9akgv8/this-gif-of-a-potato-like-earth-has-confused-the-internet-for-years
https://commons.wikimedia.org/wiki/File%3AGRACE_globe_animation.gif

* The earth is not a potato 2

deleted link

* Spelling fix
2018-12-27 14:25:33 +01:00
Harry
a0225eaee6 minor typos (#6398) 2018-11-05 12:57:06 +01:00
Pieter Vander Vennet
60638e0427 Docs(quickstart): explicitly highlight attribution requirement (#6261) 2018-08-01 10:53:27 +04:00
ghybs
d7f91d9a9d docs(geoJsonTutorial): typo (#6222) 2018-07-06 10:09:20 +02:00
ghybs
ba1b253126 docs(GeoJSON): tutorial update quote
from RFC 7946 introduction for consistency.
2018-07-05 14:12:36 +03:00
ghybs
e9ba7643d3 docs(GeoJSON): use RFC page in tutorial
for consistency.
2018-07-05 14:12:36 +03:00
Elias Ojala
60c6fa8a3e placekitten 2018-05-04 15:21:43 +03:00
Elias Ojala
ba891024d2 osm link 2018-05-04 15:18:40 +03:00
Elias Ojala
d00a355d6b mapbox link 2018-05-04 15:17:41 +03:00
Elias Ojala
7c6a7b0d6b creativecommons https 2018-05-04 15:17:13 +03: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
Andy Aldo Dharmawan
bc3a168de8
Update extending-1-classes.md 2017-11-18 15:55:34 +08: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
Andrew
c5391e3fbb reset body margin to avoid scrollbars (#5823) 2017-10-04 16:33:04 +02:00
Andrew
000f457fcb Fix map styles in "Extending Leaflet" example (#5819)
* fix map height in extending example

* add html and body styles to tutorial_frame

* move js styles to css

* remove unnecessary styles from mobile/example.md
2017-10-04 00:04:01 +02:00
CalvinWilliams1012
811cc7cf9c Comment and changed back width, as I read it wrong 2017-09-12 08:52:06 +03:00
CalvinWilliams1012
b8c1e60424 Changed some examples from viewport length and width to percent. 2017-09-12 08:52:06 +03:00
Per Liedman
f90a55ec20 Adjust details 2017-09-11 20:01:40 +03:00
CalvinWilliams1012
5d0f7ae438 Changed zoom-level documentation to reflect function properly. 2017-09-11 20:01:40 +03:00