Skip to content

Commit 35286d0

Browse files
change settings
1 parent 038c900 commit 35286d0

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

src/components/Map.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ function Map() {
2626
const [cinematic, setCinematic] = useState(false);
2727
const [placeEnd, setPlaceEnd] = useState(false);
2828
const [loading, setLoading] = useState(false);
29-
const [settings, setSettings] = useState({ algorithm: "astar", radius: 4, speed: 5 });
29+
const [settings, setSettings] = useState({ algorithm: "astar", radius: 10, speed: 10 });
3030
const [colors, setColors] = useState(INITIAL_COLORS);
3131
const [viewState, setViewState] = useState(INITIAL_VIEW_STATE);
3232
const ui = useRef();

src/config.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,18 +3,18 @@ export const MAP_STYLE = "./map_style.json";
33
export const INITIAL_VIEW_STATE = {
44
longitude: 106.660,
55
latitude: 10.762,
6-
zoom: 13,
6+
zoom: 14,
77
pitch: 0,
88
bearing: 0
99
};
1010

1111
export const INITIAL_COLORS = {
1212
startNodeFill: [70, 183, 128],
1313
startNodeBorder: [255, 255, 255],
14-
endNodeFill: [152, 4, 12],
14+
endNodeFill: [246, 79, 89],
1515
endNodeBorder: [0, 0, 0],
16-
path: [70, 183, 128],
17-
route: [165, 13, 32],
16+
path: [18, 194, 233],
17+
route: [246, 79, 89],
1818
};
1919

2020
export const LOCATIONS = [

0 commit comments

Comments
 (0)