OnMapReadyListener

public protocol OnMapReadyListener

Delegate that get notified when the map is ready to interact and fully loaded.

  • Method that notifies that it is safe to perform operations over the map. After the SitumMapsLibrary load() method is called, the module has to load the map on screen and obtain cartographic information. During this time the module is not properly initialized and operations over the map are not guaranteed to end as expected.

    Declaration

    Swift

    func onMapReady(map: SitumMap)

    Parameters

    map

    instance of the SitumMapsLibrary prepared to perform operations