Skip to main content

Getting Locations by External ID

A method on MapsIndoors is available to retrieve locations by their externalId. This is only for exact matches and is not a part of the general search implementations, so must be specifically implemented.

The function on all 3 platforms functions similarly, returning an Array or List of Locations that match the supplied External ID strings.

info

If you are looking for documentation on Android SDK v3, please see here.

Running the below snippet will return a List of MPLocations.

val locations = MapsIndoors.getLocationsByExternalIds(externalIds)