Interface used by MapsIndoors to communicate with floor selector UIs.

Export

MPFloorSelectorInterface

Hierarchy

  • MPFloorSelectorInterface

Methods

  • Whether to allow the floor to automatically change, eg. when panning to a new building that does not have the current floor.

    Returns boolean

  • Update the floors shown in the selector.

    Parameters

    Returns void

  • NB: This is used internally in the SDK, overwriting the listener will result in functionality loss.

    Set a listener that listens for when a floor is selected in the floor selector.

    Parameters

    Returns void

  • Invoked when a floor has been selected programmatically.

    Parameters

    Returns void

  • Invoked when a floor has been selected programmatically by index.

    Parameters

    • floorIndex: number

    Returns void

  • Invoked when user positioning changes floorIndex.

    Parameters

    • floorIndex: number

    Returns void

  • Show/Hide the floor selector, this is called when a building comes into/out of view.

    Parameters

    • show: boolean
    • animated: boolean

    Returns void

  • Invoked when the zoom level changes.

    Parameters

    • newZoomLevel: number

    Returns void

Generated using TypeDoc