Added new quality mode: surface type

Required fork of leaflet-hotline with a new option to disable the
gradient display.
This is was done so that short stretches of very bad surface adjacent to
very good ones are visible.

Also note the eslint-disable-line for this compat warning:
  URLSearchParams is not supported in Safari 7, op_mini all, IE 10, android 4.1
don't seem relevant today because those are EOL for a long time now.
This commit is contained in:
Tobias 2022-08-28 11:46:59 +02:00
parent f41f08c69e
commit 39aa813ea1
4 changed files with 157 additions and 4 deletions

View file

@ -65,7 +65,7 @@
"leaflet-editable": "1.2.0",
"leaflet-filelayer": "1.2.0",
"leaflet-geometryutil": "0.10.1",
"leaflet-hotline": "0.4.0",
"leaflet-hotline": "tbsmark86/Leaflet.hotline#25b2457",
"leaflet-osm-notes": "osmlab/leaflet-osm-notes#af2aa811",
"leaflet-plugins": "3.4.0",
"leaflet-providers": "1.13.0",