Classes
The following classes are available globally.
-
This is the heart of this package.
It is a UIViewController, with a single, full-fill MKMapView. That view will have markers, designating the data provided.
Selecting a marker, will pop up a callout, with the data item name. If it is an aggregate annotation, then the callout will contain a list.
Selecting an item in the list, will trigger the
callHandler()function, associated with that annotation, and the handler will be called (should be in the main thread, but that can be changed, by giving a threaded handler).The map can display different markers, if ones are provided. Otherwise, it will use the default (simple “upside-down teardrop”) markers.
In the case of aggregate (multi) markers, the map can draw the number of contained data items, over the marker. This can be disabled.
Selecting a marker will display a simple “popover” over (or under) the selected marker. This will have a list of the data items associated with that marker.
Selecting an item will call a handler, with that item as its input argument.
See moreDeclaration
Swift
@IBDesignable @MainActor open class BigJuJuMapViewController : UIViewControllerextension BigJuJuMapViewController: MKMapViewDelegateextension BigJuJuMapViewController: UIGestureRecognizerDelegate
View on GitHub
Classes Reference