This commit is contained in:
Adam 2023-04-19 00:06:31 -04:00
parent 281fd6eca9
commit ee604bbcd8
3 changed files with 4 additions and 3 deletions

View file

@ -94,7 +94,7 @@ function BadassMap(): JSX.Element {
onMouseDown={() => setRotate(false)}
onZoomStart={() => setRotate(false)}
onTouchStart={() => setRotate(false)}
transitionType="easeTo"
transitionType="flyTo"
>
<MapScatLayer data={SCAT_DATA} />
<MapArcLayer data={ARC_DATA} />

View file

@ -19,6 +19,7 @@ function MapControls(): JSX.Element {
positionOptions: {
enableHighAccuracy: false,
timeout: 6000,
maximumAge: 0,
},
fitBoundsOptions: { maxZoom: 15 },
trackUserLocation: false,

View file

@ -14,7 +14,7 @@
"sources": {
"openmaptiles": {
"type": "vector",
"url": "https://api.maptiler.com/tiles/v3/tiles.json?key=Ukl2QNcQUCPAwuelQOvM"
"url": "http://localhost:3005/us-northeast"
}
},
"sprite": "https://api.maptiler.com/maps/024da34e-fa66-4cb3-8f5f-0466b51e972e/sprite",
@ -647,4 +647,4 @@
}
],
"id": "klokantech-3d"
}
}