diff --git a/src/map.ts b/src/map.ts
index 91013ee..5d2b661 100644
--- a/src/map.ts
+++ b/src/map.ts
@@ -33,8 +33,17 @@ const basemap_url = retina ? basemap_hq_url : basemap_lq_url
const map = new Map({
target: 'map',
layers: [
+ // new TileLayer({
+ // source: new OSM({url: "https://maps.lw1.at/tiles/1.0.0/osm/GLOBAL_MERCATOR/{z}/{x}/{y}.png"}),
+ // }),
new TileLayer({
- source: new OSM({url: "https://maps.lw1.at/tiles/1.0.0/osm/GLOBAL_MERCATOR/{z}/{x}/{y}.png"}),
+ source: new XYZ({
+ url: "https://maps.lw1.at/tiles/1.0.0/tracestack/webmercator_hq/{z}/{x}/{y}.png",
+ tilePixelRatio: 5,
+ attributions: ['Data: © OpenStreetMap contributors, SRTM, NASADEM, ESA WorldCover; Maps © Tracestrack'],
+ opaque: true,
+ crossOrigin: null
+ }),
}),
new TileLayer({
source: new XYZ({
@@ -103,7 +112,7 @@ const transFlagStyle = new Style({
const nonbinaryFlagStyle = new Style({
image: new Icon({
src: nonbinaryFlag,
- scale: 0.05*800/300
+ scale: 0.05 * 800 / 300
})
})