From 974845c0a13e8b71331a951f703a94f1d53f52ab Mon Sep 17 00:00:00 2001 From: Eric Theise Date: Wed, 19 Jun 2024 17:33:28 -0700 Subject: [PATCH] Interim commit. --- js/ide.ts | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/js/ide.ts b/js/ide.ts index 0d9ca436..2527f04a 100644 --- a/js/ide.ts +++ b/js/ide.ts @@ -493,9 +493,8 @@ class IDE { ide.attribControl = new L.Control.Attribution({prefix: false}); ide.attribControl.addAttribution(tilesAttrib); const pos = new L.LatLng(settings.coords_lat, settings.coords_lon); - ide.map.setView(pos, settings.coords_zoom); - // .addLayer(tiles); - // ide.map.tile_layer = tiles; + ide.map.setView(pos, settings.coords_zoom).addLayer(tiles); + ide.map.tile_layer = tiles; // OHM: add vector layer ide.map.createPane("ohm_vectortiles");