mirror of
https://github.com/Pax1601/DCSOlympus.git
synced 2025-10-29 16:56:34 +00:00
Added default background arcgis layer
This commit is contained in:
@@ -343,6 +343,11 @@ export class Map extends L.Map {
|
||||
} else if (Object.keys(this.#mapMirrors).includes(layerName) ) {
|
||||
let layers: L.TileLayer[] = [];
|
||||
|
||||
layers.push(new L.TileLayer("https://server.arcgisonline.com/ArcGIS/rest/services/World_Imagery/MapServer/tile/{z}/{y}/{x}", {
|
||||
minZoom: 1,
|
||||
maxZoom: 19,
|
||||
}))
|
||||
|
||||
/* Load the configuration file */
|
||||
const mirror = this.#mapMirrors[layerName as any];
|
||||
const request = new Request(mirror + "/config.json");
|
||||
|
||||
Reference in New Issue
Block a user