VMRasterMapView
@objcMembers
public class VMRasterMapView : VMMapView
Concrete implementation of VMMapView that uses purely raster map tiles
Since
1.1-
Create a new VMRasterMapView for a given venue
Declaration
Swift
public convenience init(venueId: String, buildingNumber: Int, floor: VMMSBaseFloor, frame: CGRect, iconBaseURL: URL?, fontBaseURL: URL?)
Parameters
venueId
the venue identifier for the associated VMD
buildingNumber
the current building index
floor
the current indoor floor
frame
the frame for the map
iconBaseURL
icon url
fontBaseURL
font base url
-
Create a new VMMapView for a given venue using default icon & fonts
Declaration
Swift
public convenience init(venueId: String, buildingNumber: Int, floor: VMMSBaseFloor, frame: CGRect)
Parameters
venueId
the venue identifier for the associated VMD
buildingNumber
the current building index
floor
the current indoor floor
frame
the frame for the map
-
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)