-
Creates a
PointAnnotationManager
which is used to manage a collection ofPointAnnotation
s. The collection ofPointAnnotation
collection will persist across style changes.Declaration
Swift
public func makePointAnnotationManager(id: String = String(UUID().uuidString.prefix(5)), layerPosition: LayerPosition? = nil) -> PointAnnotationManager
Parameters
id
Optional string identifier for this manager.
layerPosition
Optionally set the
LayerPosition
of the layer managed.Return Value
An instance of
PointAnnotationManager
-
Creates a
PolygonAnnotationManager
which is used to manage a collection ofPolygonAnnotation
s. The collection ofPolygonAnnotation
s will persist across style changes.Declaration
Swift
public func makePolygonAnnotationManager(id: String = String(UUID().uuidString.prefix(5)), layerPosition: LayerPosition? = nil) -> PolygonAnnotationManager
Parameters
id
Optional string identifier for this manager..
layerPosition
Optionally set the
LayerPosition
of the layer managed.Return Value
An instance of
PolygonAnnotationManager
-
Creates a
PolylineAnnotationManager
which is used to manage a collection ofPolylineAnnotation
s. The collection ofPolylineAnnotation
s will persist across style changes.Declaration
Swift
public func makePolylineAnnotationManager(id: String = String(UUID().uuidString.prefix(5)), layerPosition: LayerPosition? = nil) -> PolylineAnnotationManager
Parameters
id
Optional string identifier for this manager.
layerPosition
Optionally set the
LayerPosition
of the layer managed.Return Value
An instance of
PolylineAnnotationManager
-
Creates a
CircleAnnotationManager
which is used to manage a collection ofCircleAnnotation
s. The collection ofCircleAnnotation
s will persist across style changes.Declaration
Swift
public func makeCircleAnnotationManager(id: String = String(UUID().uuidString.prefix(5)), layerPosition: LayerPosition? = nil) -> CircleAnnotationManager
Parameters
id
Optional string identifier for this manager.
layerPosition
Optionally set the
LayerPosition
of the layer managed.Return Value
An instance of
CircleAnnotationManager