VMWayfindingMapView
public class VMWayfindingMapView : VMVectorMapView
                Mapview with wayfinding support
Since
1.4- 
                  
                  
Declaration
Swift
override public var style: VMVenueStyle? { get set } 
- 
                  
init(vmd:activeIndoorFloors: activeOutdoorFloors: frame: iconBaseURL: fontBaseURL: styleURL: maptilerAccessToken: ) Declaration
Swift
public override init(vmd: VMMSMap, activeIndoorFloors: [VMMSBaseFloor], activeOutdoorFloors: [VMMSBaseFloor], frame: CGRect, iconBaseURL: URL?, fontBaseURL: URL?, styleURL: URL?, maptilerAccessToken: String? ) - 
                  
                  
Declaration
Swift
public convenience init(vmd: VMMSMap, activeIndoorFloors: [VMMSBaseFloor], activeOutdoorFloors: [VMMSBaseFloor], frame: CGRect, iconBaseURL: URL?, fontBaseURL: URL? ) - 
                  
                  
Declaration
Swift
public convenience init(frame: CGRect, vmd: VMMSMap, styleURL: URL?, maptilerAccessToken: String?) - 
                  
                  
Declaration
Swift
public convenience init(frame: CGRect, vmd: VMMSMap) - 
                  
                  
Default init for nscoder
Since
2.0.2Declaration
Swift
public required init?(coder: NSCoder) 
- 
                  
                  
Find map unit containing a location on the given floor
Declaration
Swift
open override func getMapUnitContaining(_ location: CLLocationCoordinate2D, _ vmdFloor: VMMSBaseFloor?) -> VMMSMapUnit?Parameters
locationThe location to check
vmdFloorThe floor to check
Return Value
The containing map unit, or nil
 - 
                  
                  
Called when annotation is selected
- mapView: the map
 - annotation: the annotation
 
Declaration
Swift
open override func mapView(_ mapView: MGLMapView, didSelect annotation: MGLAnnotation) - 
                  
                  
Provide stroke color for lines
- mapView: the mapview
 - annotation: the shape annotation
 
Declaration
Swift
open override func mapView(_ mapView: MGLMapView, strokeColorForShapeAnnotation annotation: MGLShape) -> UIColorReturn Value
the color
 - 
                  
                  
Provide stroke width for lines
- mapView: the mapview
 annotation: the line
Declaration
Swift
open override func mapView(_ mapView: MGLMapView, lineWidthForPolylineAnnotation annotation: MGLPolyline) -> CGFloatReturn Value
the width
 - 
                  
                  
Provide the alpha for shapes
- mapView: the mapview
 annotation: the shape
Declaration
Swift
open override func mapView(_ mapView: MGLMapView, alphaForShapeAnnotation annotation: MGLShape) -> CGFloatReturn Value
the alpha value
 - 
                  
                  
Provide a custom view for an annotation
- mapView: the mapview
 - annotation: the annotation
 
Declaration
Swift
open override func mapView(_ mapView: MGLMapView, viewFor annotation: MGLAnnotation) -> MGLAnnotationView?Return Value
the custom view
 - 
                  
                  
Provide a custom image for an annoation
- mapView: the map
 - annotation: the annotation
 
Declaration
Swift
open override func mapView(_ mapView: MGLMapView, imageFor annotation: MGLAnnotation) -> MGLAnnotationImage?Return Value
the custom image
 
        VMWayfindingMapView Class Reference