Skip to content

Commit ca42acd

Browse files
committed
add destination marker
1 parent 2626f0e commit ca42acd

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

apps/mobile/app/(playground)/index.tsx

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -140,9 +140,12 @@ export default function Map() {
140140
zoomLevel: 15,
141141
}}
142142
/>
143-
{/* <MarkerView coordinate={AMBALA_COORDS}>
144-
<View className="w-5 h-5 bg-blue-500 border rounded-xl border-red-950" />
145-
</MarkerView> */}
143+
<PointAnnotation
144+
id="destination"
145+
coordinate={sessionData.destinationPosition.reverse()}
146+
>
147+
<Callout title="Destination" />
148+
</PointAnnotation>
146149
{/* <UserLocation visible={true} showsUserHeadingIndicator={true} /> */}
147150
{users.map((user, index) => (
148151
<Fragment key={user.id}>

0 commit comments

Comments
 (0)