MNMapViewController
open class MNMapViewController : UIViewController
-
Declaration
Swift
public var curOverlaysVisibility: Bool -
Generic map view controller constructor
Declaration
Swift
public init() -
Declaration
Swift
public required init?(coder aDecoder: NSCoder) -
Declaration
Swift
override open func loadView() -
Declaration
Swift
open override func accessibilityScroll(_ direction: UIAccessibilityScrollDirection) -> Bool -
Declaration
Swift
open override var accessibilityValue: String? { get set } -
Declaration
Swift
open override func traitCollectionDidChange(_ previousTraitCollection: UITraitCollection?) -
Declaration
Swift
override open func viewDidLoad() -
Declaration
Swift
@objc public func onMapMoved() -
Declaration
Swift
override open func didMove(toParent parent: UIViewController?) -
Declaration
Swift
open override func viewWillAppear(_ animated: Bool) -
Declaration
Swift
open override func viewWillDisappear(_ animated: Bool) -
Declaration
Swift
open override func viewDidAppear(_ animated: Bool)
-
Declaration
Swift
public var isInited: Bool -
The map view
Declaration
Swift
public var mapView: MNMapView { get } -
Declaration
Swift
public func setCopyRightLabelBottomMargin(bottom: CGFloat?) -
Declaration
Swift
public func setCompassIcon(logo: UIImage?) -
Declaration
Swift
public func setCompassPosition(dimension: CompassDimension?) -
Declaration
Swift
public func reorientCompass() -
Declaration
Swift
public func moveMapSymbolsToDefaultPosition() -
Declaration
Swift
public func moveMapSymbolsDown()
-
Call to move focus point to current position
Declaration
Swift
public func moveToCurrentPos()
-
Call this method to add Map Event listener delegate
Declaration
Swift
public func addMapEventListenerDelegate(delegate: MapEventListener)Parameters
delegateadd an object which needs to listen to the delegate methods
-
Call this method to remove Map Event listener delegate
Declaration
Swift
public func removeMapEventListenerDelegate(delegate: MapEventListener)Parameters
delegatean object which needs to listen to the delegate methods
-
Call this method to add Map Click listener delegate
Declaration
Swift
public func addMapClickListernerDelegate(delegate: MapClickListener)Parameters
delegateadd an object which needs to listen to the delegate methods
-
Call this method to remove Map Click listener delegate
Declaration
Swift
public func removeMapClickListenerDelegate(delegate: MapClickListener)Parameters
delegatean object which needs to listen to the delegate methods
MNMapViewController Class Reference