\
This commit is contained in:
parent
281fd6eca9
commit
ee604bbcd8
3 changed files with 4 additions and 3 deletions
|
@ -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} />
|
||||
|
|
|
@ -19,6 +19,7 @@ function MapControls(): JSX.Element {
|
|||
positionOptions: {
|
||||
enableHighAccuracy: false,
|
||||
timeout: 6000,
|
||||
maximumAge: 0,
|
||||
},
|
||||
fitBoundsOptions: { maxZoom: 15 },
|
||||
trackUserLocation: false,
|
||||
|
|
|
@ -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"
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue