Skip to content

Commit c9fc7a8

Browse files
authored
Merge pull request #62 from UW-Macrostrat/explore-fix
Explore page fix
2 parents 7044499 + 93a10eb commit c9fc7a8

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

src/components/general/index.ts

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -331,7 +331,12 @@ function Checkin({checkin, mapRef, setInspectPosition, len}) {
331331
{
332332
className: "checkin",
333333
onClick: () => {
334-
map.flyTo({ center: [checkin.lng, checkin.lat], zoom: 12 });
334+
map.flyTo({
335+
center: [checkin.lng, checkin.lat],
336+
zoom: 12,
337+
speed: 2,
338+
curve: 1.2
339+
});
335340
if (setInspectPosition)
336341
setInspectPosition({ lat: checkin.lat, lng: checkin.lng });
337342
},

0 commit comments

Comments
 (0)