换成第三方底图
This commit is contained in:
@@ -268,8 +268,9 @@ function initMap() {
|
||||
attributionControl: false
|
||||
})
|
||||
|
||||
L.tileLayer('/tiles/tiles/1.0.0/carto_light/EPSG3857/{z}/{x}/{y}.png', {
|
||||
maxZoom: 18
|
||||
L.tileLayer('https://{s}.basemaps.cartocdn.com/light_all/{z}/{x}/{y}{r}.png', {
|
||||
maxZoom: 18,
|
||||
subdomains: 'abcd'
|
||||
}).addTo(map)
|
||||
|
||||
L.control.attribution({ prefix: false, position: 'bottomright' })
|
||||
|
||||
Reference in New Issue
Block a user