Skip to content

Commit

Permalink
Make visibleAnnotations property read-only from outside
Browse files Browse the repository at this point in the history
  • Loading branch information
vospennikov committed Oct 3, 2023
1 parent 82bc1f3 commit 03332e4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sources/ClusterMap/Public/Core/ClusterManager.swift
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ public final class ClusterManager<Annotation: CoordinateIdentifiable>
}

/// A collection of currently visible annotations on the map.
public var visibleAnnotations: [AnnotationType] = []
public private(set) var visibleAnnotations: [AnnotationType] = []

/// Adds a single annotation to the cluster manager.
///
Expand Down

0 comments on commit 03332e4

Please sign in to comment.