put it where it belongs

This commit is contained in:
Adam 2023-04-15 22:05:53 -04:00
parent 46afd73d0a
commit 7d7ad09712

View file

@ -8,9 +8,10 @@ import type { MapOptions } from 'maplibre-gl';
import MapControls from './MapControls'; import MapControls from './MapControls';
import 'maplibre-gl/dist/maplibre-gl.css'; 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 { 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 = { const options: MapOptions = {
container: 'solid-map-gl will override me', container: 'solid-map-gl will override me',
style: TILES_URL, style: TILES_URL,