Skip to content

Commit f352900

Browse files
committed
RU-T47 PR#228 fix
1 parent 849582d commit f352900

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/maps/map-view.web.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -385,7 +385,7 @@ export const Camera = forwardRef<any, CameraProps>(({ centerCoordinate, zoomLeve
385385
// MapView initializes at a default center; Camera is responsible for
386386
// snapping to the correct location on first render on web.
387387
try {
388-
map.jumpTo({ center: centerCoordinate as [number, number], zoom: zoomLevel });
388+
map.jumpTo({ center: centerCoordinate as [number, number], zoom: zoomLevel, bearing: heading, pitch: pitch }, { _programmatic: true });
389389
} catch {
390390
// ignore projection errors during initialization
391391
}

0 commit comments

Comments
 (0)