Reputation: 5694
I have made a view which shows a group of markers on a map:
Map(selection: $selected) {
ForEach(locationManager.points) { point in
Marker(
point.title,
coordinate: point.coordinate
).tag(point)
}
}
Additionally I would like to show the user's location as such a blue marker. Is that possible with the constructor I have chosen?
The constructors with "showUsersLocation" doesn't have a selection-parameter. Is it possible having both parameter?
Upvotes: 0
Views: 16