Skip to content

Commit ad57ca9

Browse files
format
1 parent 29e4c6e commit ad57ca9

2 files changed

Lines changed: 30 additions & 31 deletions

File tree

.maestro/automated/suite.yaml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
11
appId: com.anonymous.client
22
---
3-
43
- runFlow: ../US1/AT1viewBothCampus.yaml
54
- runFlow: ../US1/AT2distinguishBuilding.yaml
65
- runFlow: ../US1/AT3campusLocation.yaml
76
- runFlow: ../US1/AT4buildingPopup.yaml
87

9-
- runFlow: ../US2/AT2currentBuilding.yaml
8+
- runFlow: ../US2/AT2currentBuilding.yaml

components/map/map-viewer.tsx

Lines changed: 29 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -768,36 +768,36 @@ export default function MapViewer({
768768

769769
{Platform.OS === "android"
770770
? routeNodes.map((node, index) => (
771-
<Circle
772-
key={`node-${routeKey}-${index}-${node.coordinate.latitude}-${node.coordinate.longitude}`}
773-
center={node.coordinate}
774-
radius={7}
775-
fillColor={node.toColor}
776-
strokeColor="#fff"
777-
strokeWidth={3}
778-
zIndex={12}
779-
/>
780-
))
781-
: routeNodes.map((node, index) => (
782-
<Marker
783-
key={`node-${routeKey}-${index}-${node.coordinate.latitude}-${node.coordinate.longitude}`}
784-
coordinate={node.coordinate}
785-
anchor={{ x: 0.5, y: 0.5 }}
786-
zIndex={12}
787-
>
788-
<View
789-
collapsable={false}
790-
style={{
791-
width: 18,
792-
height: 18,
793-
borderRadius: 9,
794-
backgroundColor: node.toColor,
795-
borderWidth: 3,
796-
borderColor: "#fff",
797-
}}
771+
<Circle
772+
key={`node-${routeKey}-${index}-${node.coordinate.latitude}-${node.coordinate.longitude}`}
773+
center={node.coordinate}
774+
radius={7}
775+
fillColor={node.toColor}
776+
strokeColor="#fff"
777+
strokeWidth={3}
778+
zIndex={12}
798779
/>
799-
</Marker>
800-
))}
780+
))
781+
: routeNodes.map((node, index) => (
782+
<Marker
783+
key={`node-${routeKey}-${index}-${node.coordinate.latitude}-${node.coordinate.longitude}`}
784+
coordinate={node.coordinate}
785+
anchor={{ x: 0.5, y: 0.5 }}
786+
zIndex={12}
787+
>
788+
<View
789+
collapsable={false}
790+
style={{
791+
width: 18,
792+
height: 18,
793+
borderRadius: 9,
794+
backgroundColor: node.toColor,
795+
borderWidth: 3,
796+
borderColor: "#fff",
797+
}}
798+
/>
799+
</Marker>
800+
))}
801801
{navigationMode === "directions" && navCoords.start && (
802802
<NavEndpointMarker
803803
key={`nav-start-${navCoords.start.latitude}-${navCoords.start.longitude}`}

0 commit comments

Comments
 (0)