Working with Events

Posted on September 30, 2019

The MapControl delegate can inform you when the various data from the MapsIndoors services are loaded through it’s MPMapControlDelegate so you should set the delegate, in most of the cases with the current UIViewController:

myMapControl.delegate = self

Implement the onMapDataReady method :

class ViewController: UIViewController, MPMapControlDelegate

Then implementing the methods below :

func onMapDataReady(){
    
}