Update leaflet.osm plugin
This commit is contained in:
parent
e6f00f5dc8
commit
8199002a0f
1 changed files with 2 additions and 2 deletions
4
vendor/assets/leaflet/leaflet.osm.js
vendored
4
vendor/assets/leaflet/leaflet.osm.js
vendored
|
@ -2,7 +2,7 @@ L.OSM = {};
|
||||||
|
|
||||||
L.OSM.TileLayer = L.TileLayer.extend({
|
L.OSM.TileLayer = L.TileLayer.extend({
|
||||||
options: {
|
options: {
|
||||||
url: 'https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png',
|
url: 'https://tile.openstreetmap.org/{z}/{x}/{y}.png',
|
||||||
attribution: '© <a href="https://www.openstreetmap.org/copyright" target="_blank">OpenStreetMap</a> contributors'
|
attribution: '© <a href="https://www.openstreetmap.org/copyright" target="_blank">OpenStreetMap</a> contributors'
|
||||||
},
|
},
|
||||||
|
|
||||||
|
@ -46,7 +46,7 @@ L.OSM.HOT = L.OSM.TileLayer.extend({
|
||||||
|
|
||||||
L.OSM.GPS = L.OSM.TileLayer.extend({
|
L.OSM.GPS = L.OSM.TileLayer.extend({
|
||||||
options: {
|
options: {
|
||||||
url: 'https://gps-{s}.tile.openstreetmap.org/lines/{z}/{x}/{y}.png',
|
url: 'https://gps.tile.openstreetmap.org/lines/{z}/{x}/{y}.png',
|
||||||
maxZoom: 21,
|
maxZoom: 21,
|
||||||
maxNativeZoom: 20,
|
maxNativeZoom: 20,
|
||||||
subdomains: 'abc'
|
subdomains: 'abc'
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue