Added ejs support

This commit is contained in:
Pax1601
2023-01-13 08:14:31 +01:00
parent c21f03b050
commit 34e32be857
9 changed files with 14866 additions and 24 deletions

17
client/src/map/map.ts Normal file
View File

@@ -0,0 +1,17 @@
import * as L from 'leaflet'
export namespace Olympus
{
export class Map extends L.Map
{
constructor(containerId: string)
{
super(containerId, {doubleClickZoom: false});
this.setView([37.23, -115.8], 12);
L.tileLayer('https://server.arcgisonline.com/ArcGIS/rest/services/World_Imagery/MapServer/tile/{z}/{y}/{x}', {
attribution: 'Tiles © Esri — Source: Esri, i-cubed, USDA, USGS, AEX, GeoEye, Getmapping, Aerogrid, IGN, IGP, UPR-EGP, and the GIS User Community'
}).addTo(this);
}
}
}