Skip to content

Commit

Permalink
Change marker colors
Browse files Browse the repository at this point in the history
  • Loading branch information
buoto committed May 30, 2018
1 parent 8737447 commit b0ce9f3
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions app/components/RouteMap.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@ const RouteMap = ({
...props
}) => (
<MapView initialRegion={initialRegion} style={styles.map} {...props}>
<ConditionalMarker coordinate={start} title="Start" />
<ConditionalMarker coordinate={end} title="Koniec" />
<ConditionalMarker coordinate={start} title="Start" pinColor="#00c853" />
<ConditionalMarker coordinate={end} title="Koniec" pinColor="#ff3d00" />
<ConditionalMarker
coordinate={touchedLocation}
title="Wybrana lokalizacja"
Expand All @@ -35,6 +35,7 @@ const RouteMap = ({
key={number}
coordinate={{ longitude, latitude }}
title={`${name} (${number})`}
pinColor="#2979ff"
/>
))}
{points && (
Expand Down

0 comments on commit b0ce9f3

Please sign in to comment.