loadVenue

open override fun loadVenue(options: MPIOptions.Init, showVenueOptions: MPIOptions.ShowVenue?, errorCallback: (MPIError?) -> Unit?)

Loads the venue based on the options passed in MPIMapView

  • Note: API calls will be made to retrieve the data

Return

void

Parameters

options

The options MPIOptions.Init to load the MPIMapView with

showVenueOptions

The options MPIOptions.ShowVenue to show the venue with

errorCallback

Callback when MPIMapView.loadVenue fails, contains an MPIError as the first parameter, defaults to null