Protocols
The following protocols are available globally.
-
This is the foundational code for custom stylesheet and theme support. This area will likely be the focus of updates & changes over the next several releases, so we would recommend avoiding implementing your own custom stylesheet classes until we have further vetted this implementation. Documentation will be written once we’ve solidified on the protocol requirements and implementation details.
We do however welcome suggestions / improvements to this API on our github at https://github.com/mapzen/ios
Declaration
Swift
@objc public protocol StyleSheet : class
-
Single Tap Gesture Delegate
See moreDeclaration
Swift
public protocol MapSingleTapGestureDelegate : class
-
Double Tap Gesture Delegate
See moreDeclaration
Swift
public protocol MapDoubleTapGestureDelegate : class
-
Long Press Gesture Delegate
See moreDeclaration
Swift
public protocol MapLongPressGestureDelegate : class
-
Map Pan Gesture Delegate
See moreDeclaration
Swift
public protocol MapPanGestureDelegate : class
-
MapPinchGestureDelegate
See moreDeclaration
Swift
public protocol MapPinchGestureDelegate : class
-
MapRotateGestureDelegate
See moreDeclaration
Swift
public protocol MapRotateGestureDelegate : class
-
MapShoveGestureDelegate
See moreDeclaration
Swift
public protocol MapShoveGestureDelegate : class
-
MapFeatureSelectDelegate
See moreDeclaration
Swift
public protocol MapFeatureSelectDelegate : class
-
MapLabelSelectDelegate
See moreDeclaration
Swift
public protocol MapLabelSelectDelegate : class
-
MapMarkerSelectDelegate
See moreDeclaration
Swift
public protocol MapMarkerSelectDelegate : class
-
MapTileLoadDelegate
See moreDeclaration
Swift
public protocol MapTileLoadDelegate : class
-
LocationManagerDelegate Protocol
See moreDeclaration
Swift
@objc public protocol LocationManagerDelegate
-
Protocol for LocationManager’s api so that actual implementation can be switched out in testing contexts.
Declaration
Swift
public protocol LocationManagerProtocol : class
-
Generic marker protocol definition.
See moreDeclaration
Swift
public protocol GenericMarker
-
Generic geometric marker protocol definition.
See moreDeclaration
Swift
public protocol GenericGeometricMarker: GenericMarker
-
Generic point marker protocol definition.
See moreDeclaration
Swift
public protocol GenericPointMarker: GenericMarker
-
Generic polyline marker protocol definition.
See moreDeclaration
Swift
public protocol GenericPolylineMarker: GenericGeometricMarker
-
Generic polygon marker protocol definition.
See moreDeclaration
Swift
public protocol GenericPolygonMarker: GenericGeometricMarker
-
Generic system point marker protocol definition.
See moreDeclaration
Swift
public protocol GenericSystemPointMarker: GenericPointMarker
-
Generic selectable system point marker protocol definition.
See moreDeclaration
Swift
public protocol GenericSelectableSystemPointMarker: GenericPointMarker
-
Generic system geometric marker protocol definition.
See moreDeclaration
Swift
public protocol GenericSystemPolylineMarker: GenericMarker