Commit Graph

29 Commits

Author SHA1 Message Date
c6fd99f072 Hold element positions in WeakMap (#8749) 2022-12-27 12:29:27 +01:00
2f6aad5d48 Replace DomUtil.remove() with Element.remove() (#8735) 2022-12-22 20:08:18 +01:00
119785e3a9 Enable no-var linting rule and fix issues (#8602) 2022-10-20 21:18:26 +02:00
d777c79f7a Enable prefer-arrow-callback linting rule and fix issues (#8594) 2022-10-20 00:10:54 +02:00
5e66c62405 Enable object-shorthand linting rule and fix issues (#8592) 2022-10-19 11:59:15 +02:00
c33a57ca3a Enable prefer-template linting rule and fix issues (#8587) 2022-10-16 23:58:24 +02:00
02f204e782 Fix 2 links without URLs in docs (#8542) 2022-10-08 12:41:20 +03:00
c2324e52e2 Use preferred tile.openstreetmap.org URL (#8418)
Now that tile.openstreetmap.org supports HTTP/2 + HTTP/3 the old (a|b|c).tile.openstreetmap.org is no longer recommended.

Use tile.openstreetmap.org directly is faster and will likely result in a better cache hit ratio.

Signed-off-by: Grant Slater <git@firefishy.com>

Signed-off-by: Grant Slater <git@firefishy.com>
2022-08-28 11:31:45 +02:00
20654cd159 Replace Mapbox with OpenStreetMap (#7818)
* Replace Mapbox with OpenStreetMap

Replace Mapbox with OpenStreetMap

* Revert Gemfile

* Replace blanks with tabs

* Fix lint

* Replace Mapbox with OSM

* Add OSM Tile Usage Policy link

* typo: productive→production

Co-authored-by: Iván Sánchez Ortega <ivan@sanchezortega.es>
2022-05-27 11:33:15 +03:00
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
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
4a5f192094 Compress thumbnails for tutorials (#8002) 2022-02-14 18:51:25 +01:00
44e4975339 Rename master branch to main (#7921) 2022-01-19 12:46:44 +02:00
80279dd98b Lint examples (#7827)
* lint examples

* examples lint fixes

* more lint fixes

* fixes

* final fixes
2021-11-29 16:31:54 +02:00
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
5e93da5c70 Fix JS error on non-mobile devices (issue #4239) 2020-03-11 12:56:38 +02:00
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
aa91af4749 Typo in tutorials 2019-03-03 14:19:13 +01:00
a0225eaee6 minor typos (#6398) 2018-11-05 12:57:06 +01:00
60c6fa8a3e placekitten 2018-05-04 15:21:43 +03:00
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
bc3a168de8 Update extending-1-classes.md 2017-11-18 15:55:34 +08:00
c5391e3fbb reset body margin to avoid scrollbars (#5823) 2017-10-04 16:33:04 +02:00
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
811cc7cf9c Comment and changed back width, as I read it wrong 2017-09-12 08:52:06 +03:00
b8c1e60424 Changed some examples from viewport length and width to percent. 2017-09-12 08:52:06 +03:00
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
814fe5dab4 Fix language (#5023)
These struck me when reading the controls section.
2016-10-20 15:49:29 +03:00
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