MapFeatureSelectDelegate
public protocol MapFeatureSelectDelegate : class
MapFeatureSelectDelegate
-
Informs the delegate a feature of the map was just selected.
Declaration
Swift
func mapController(_ controller: MZMapViewController, didSelectFeature feature: [String : String], atScreenPosition position: CGPoint)
Parameters
controller
The MZMapViewController that recognized the selection.
feature
Feature dictionary. The keys available are determined by the provided data in the upstream data source.
atScreenPosition
The screen coordinates of the picked feature.