import { Component, createSignal } from 'solid-js'; import MapGL, { Viewport, Control, Light, Camera } from 'solid-map-gl'; import * as maplibre from 'maplibre-gl'; import 'maplibre-gl/dist/maplibre-gl.css'; export default function BadassMap() { const [viewport, setViewport] = createSignal({ center: [-71.05625, 42.36], zoom: 15.5, bearing: 160, pitch: 60, maxPitch: 85, antialias: true, } as Viewport); return ( setViewport(evt)} > ); };