Skip to content

Commit

Permalink
DBC22-1611: updated default map state
Browse files Browse the repository at this point in the history
  • Loading branch information
ray-oxd authored and fatbird committed Feb 1, 2024
1 parent 0e1a9e9 commit 54f0db3
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions src/frontend/src/App.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,10 @@ function App() {
visible_layers: {
closures: true,
majorEvents: true,
minorEvents: true,
futureEvents: true,
minorEvents: false,
futureEvents: false,
roadConditions: true,
highwayCams: true,
highwayCams: false,
inlandFerries: true,
},
};
Expand Down
4 changes: 2 additions & 2 deletions src/frontend/src/slices/mapSlice.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ import { createSlice } from '@reduxjs/toolkit';
export const mapSlice = createSlice({
name: 'map',
initialState: {
zoom: 10,
pan: [-122.7497299799772, 53.917075225412546],
zoom: 6,
pan: [-126.40216584353347, 53.24106084212411],
},
reducers: {
updateMapState: (state, action) => {
Expand Down

0 comments on commit 54f0db3

Please sign in to comment.