diff --git a/src/routes/+page.svelte b/src/routes/+page.svelte index 1d237bb..4584ccb 100644 --- a/src/routes/+page.svelte +++ b/src/routes/+page.svelte @@ -376,6 +376,10 @@ if (mapglobal.getLayer('km_line')) { mapglobal.setLayoutProperty('km_line', 'visibility', 'visible'); } + + if (mapglobal.getLayer('userpositionacclayer')) { + mapglobal.setLayoutProperty('userpositionacclayer', 'visibility', 'visible'); + } } else { if (mapglobal.getLayer('geolocationheadingshell')) { mapglobal.setLayoutProperty('geolocationheadingshell', 'visibility', 'none'); @@ -392,6 +396,10 @@ if (mapglobal.getLayer('nobearing_position')) { mapglobal.setLayoutProperty('nobearing_position', 'visibility', 'none'); } + + if (mapglobal.getLayer('userpositionacclayer')) { + mapglobal.setLayoutProperty('uuserpositionacclayer', 'visibility', 'none'); + } } if (mapglobal.getLayer('foamershapes')) {