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>
* Tooltips are read by voice over.
* Remove unneeded changes in separate test
* Remove unnecessary code
* Move out repeated code into separate function
* Consistent naming
* Add test for aria-describedby for a layer group
* Remove arrow functions and other review fixes
* DomEvent.DoubleTap ignores clicks on <label>s
Fixes#8225.
When clicking on a <label> linked to an <input> (or vice
versa), browsers trigger an extra click on the related
element. This causes the DoubleTap logic to activate
and fire a ghost dblclick event.
This change makes the DoubleTap logic ignore clicks on
labels or children of labels (but not when there's
an <input> on the propagation path of the event, which
means there's an <input> nested inside a <label>).
* typo: label 'ref'→'for' attribute
* Added DomEvent.getPropagationPath() polyfill
* Add test
Co-authored-by: Florian Bischof <design.falke@gmail.com>
* Update Events.listens to search for specific function
Check if listener is existing in `_panInsideMaxBounds` before rm listene
revert example
Fix lint
* Refactor _listens
* Add function definition for IE
* Refactor
* Return index and remove indexOf
* _listens return number or false
* Revert to true
Co-authored-by: Volodymyr Agafonkin <agafonkin@gmail.com>
* adds failing test for loading tiles with identical min/maxZoom and detectRetina
* fixes incorrect min/maxZoom when detectRetina; closes#7326
* revert whitespace change
* makes L.Browser mutable
* removes devicePixelRatio in before.js
* Revert "makes L.Browser mutable"
This reverts commit 3677f23eb3.
* changes TileLayer test to check that correct min/max zooms are set
* try to fix IE10 test
* fix to IE10: use var
* makes sure min and maxzoom are valid in relation to each other
Co-authored-by: bozdoz <howaboutben@gmail.com>
Co-authored-by: Florian Bischof <design.falke@gmail.com>
* Implemented missing logic for noMoveStart when using panTo function
* Add test and apply suggestions from johnd0e
Co-authored-by: Tobias Johansson <tobias_johansson@live.se>
Co-authored-by: Florian Bischof <design.falke@gmail.com>
* Fix weird geometry move when zooming during a drag
* Draggable: allow single-touch drag only
Finish drag if more than 1 touch detected to avoid conflict with touchZoom
* make sure inertia doesn't interfere with pinch zoom
* Add tests
Co-authored-by: Manuel Baclet <mbaclet@gmail.com>
Co-authored-by: johndoe <johnd0e@mail.ua>
Co-authored-by: falke-design <design.falke@gmail.com>
* add a Ukrainian flag to default attribution
* use SVG for Ukrainian flag rather than emoji
* fix lint
* detect inline SVG for Ukrainian flag
* add aria-hidden to Ukrainian flag
Co-authored-by: Robert Linder <robert.vuj.linder@outlook.com>
Co-authored-by: Robert Linder <robert.vuj.linder@outlook.com>