cluster1
cluster1

Reputation: 5694

How to show a group of pre-defined marker PLUS the user's location?

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

Answers (0)

Related Questions