PointOfInterestManager
public final class PointOfInterestManager
-
Declaration
Swift
public static let defaultZoom: Double
-
Declaration
Swift
public weak var delegate: PointOfInterestManagerDelegate?
-
Declaration
Swift
public var isSelectionEnabled: Bool
-
Declaration
Swift
@discardableResult public func showAllPOIs() -> Bool
-
Declaration
Swift
@discardableResult public func hideAllPOIs() -> Bool
-
Declaration
Swift
@discardableResult public func showPOI(_ poi: PointOfInterest) -> Bool
-
Declaration
Swift
@discardableResult public func hidePOI(_ poi: PointOfInterest) -> Bool
-
Declaration
Swift
@discardableResult public func showPOI(id: Int) -> Bool
-
Declaration
Swift
@discardableResult public func hidePOI(id: Int) -> Bool
-
Declaration
Swift
@discardableResult public func centerToPOI(id: Int, animated: Bool = true, zoom: Double = defaultZoom) -> Bool
-
Declaration
Swift
@discardableResult public func centerToPOI(_ poi: PointOfInterest, animated: Bool = true, zoom: Double = defaultZoom) -> Bool
-
Declaration
Swift
@discardableResult public func selectPOI(_ poi: PointOfInterest, shouldCenter: Bool = true, animated: Bool = true, zoom: Double = defaultZoom) -> Bool
-
Declaration
Swift
@discardableResult public func unselectPOI(_ poi: PointOfInterest) -> Bool
-
Declaration
Swift
@discardableResult public func selectPOI(id: Int, shouldCenter: Bool = true, animated: Bool = true, zoom: Double = defaultZoom) -> Bool
-
Declaration
Swift
@discardableResult public func unselectPOI(id: Int) -> Bool
-
Declaration
Swift
public func getPOIs() -> [PointOfInterest]
-
Declaration
Swift
public func updateCache() -> Single<[PointOfInterest]>
-
Declaration
Swift
@discardableResult public func filterByTag(_ tag: String) -> Bool
-
Declaration
Swift
@discardableResult public func removeFilters() -> Bool
-
Declaration
Swift
public func sortPOIsByGraphDistance(origin: Coordinate, pois: [PointOfInterest]) -> Single<[PointOfInterestWithInfo]>
-
Declaration
Swift
public func sortPOIsByGraphDistance(origin: Coordinate) -> Single<[PointOfInterestWithInfo]>
-
Declaration
Swift
public func sortPOIsByDuration(origin: Coordinate, pois: [PointOfInterest]) -> Single<[PointOfInterestWithInfo]>
-
Declaration
Swift
public func sortPOIsByDuration(origin: Coordinate) -> Single<[PointOfInterestWithInfo]>