Skip to content

Commit eb1c1c6

Browse files
committed
fix: types
1 parent de04cd1 commit eb1c1c6

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/packlets/front/map.astro

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,11 @@
1919
)
2020

2121
map.cameraZoomRange = new mapkit.CameraZoomRange(500, 75000)
22-
map.cameraBoundary.region = region
2322
map.region = region
2423

24+
// @ts-expect-error CameraBoundaryDescription.region does not exist in Map
25+
map.cameraBoundary = region
26+
2527
map.showItems([
2628
new mapkit.MarkerAnnotation(coordinate, {
2729
title: 'True Digital Park West',

0 commit comments

Comments
 (0)