From 7d7ad09712bda7c0f2bcf5881e853058b9aa095d Mon Sep 17 00:00:00 2001 From: Adam <24621027+adoyle0@users.noreply.github.com> Date: Sat, 15 Apr 2023 22:05:53 -0400 Subject: [PATCH] put it where it belongs --- lightning/src/components/BadassMap.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lightning/src/components/BadassMap.tsx b/lightning/src/components/BadassMap.tsx index 8223bb2..5bac0ca 100644 --- a/lightning/src/components/BadassMap.tsx +++ b/lightning/src/components/BadassMap.tsx @@ -8,9 +8,10 @@ import type { MapOptions } from 'maplibre-gl'; import MapControls from './MapControls'; import 'maplibre-gl/dist/maplibre-gl.css'; -const TILES_URL: string = 'https://api.maptiler.com/maps/024da34e-fa66-4cb3-8f5f-0466b51e972e/style.json?key=Ukl2QNcQUCPAwuelQOvM' function BadassMap(): JSX.Element { + const TILES_URL: string = 'https://api.maptiler.com/maps/024da34e-fa66-4cb3-8f5f-0466b51e972e/style.json?key=Ukl2QNcQUCPAwuelQOvM' + const options: MapOptions = { container: 'solid-map-gl will override me', style: TILES_URL,