Skip to content

Commit

Permalink
fix navigation camera to have pitch and zoom
Browse files Browse the repository at this point in the history
  • Loading branch information
bjtrounson committed Dec 25, 2024
1 parent 6d99b4c commit 1d1796a
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions react-native/src/views/NavigationMapViewCamera.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -72,13 +72,11 @@ const NavigationMapViewCamera = ({

return (
<Camera
defaultSettings={{
padding,
}}
zoomLevel={activity.zoom}
pitch={activity.pitch}
followUserLocation
followUserMode={UserTrackingMode.FollowWithCourse}
followZoomLevel={activity.zoom}
followPitch={activity.pitch}
padding={padding}
/>
);
};
Expand Down

0 comments on commit 1d1796a

Please sign in to comment.