mirror of
https://github.com/mayswind/ezbookkeeping.git
synced 2026-05-17 00:12:11 +08:00
map provider supports CartoDB
This commit is contained in:
@@ -39,6 +39,14 @@ const leafletTileSources = {
|
||||
defaultZoomLevel: 14,
|
||||
attribution : '<a href="https://github.com/cyclosm/cyclosm-cartocss-style/releases" title="CyclOSM - Open Bicycle render" class="external" target="_blank">CyclOSM</a> | Map data: © <a href="https://www.openstreetmap.org/copyright" class="external" target="_blank">OpenStreetMap</a> contributors'
|
||||
},
|
||||
'cartodb': {
|
||||
tileUrlFormat: 'https://{s}.basemaps.cartocdn.com/rastertiles/voyager/{z}/{x}/{y}.png',
|
||||
tileUrlSubDomains: 'abcd',
|
||||
minZoom: 1,
|
||||
maxZoom: 20,
|
||||
defaultZoomLevel: 14,
|
||||
attribution : '© <a href="http://www.openstreetmap.org/copyright" class="external" target="_blank">OpenStreetMap</a>, © <a href="https://carto.com/attributions" class="external" target="_blank">CARTO</a>'
|
||||
},
|
||||
'tomtom': {
|
||||
tileUrlFormat: 'https://{s}.api.tomtom.com/map/1/tile/basic/main/{z}/{x}/{y}.png',
|
||||
tileUrlSubDomains: 'abcd',
|
||||
|
||||
Reference in New Issue
Block a user