Sets a behavior for the map when calling MapControl#selectLocation.

Has a default behavior:

  • MoveCamera = false
  • ShowInfoWindow = false
  • AnimationDuration = 0
  • AllowFloorChange = false
  • ZoomToFit = true

Export

Constructors

  • Private

    Creates an instance of MPSelectionBehavior.

    Parameters

    • allowFloorChange: boolean
    • moveCamera: boolean
    • animationDuration: number
    • showInfoWindow: boolean
    • zoomToFit: boolean

    Returns MPSelectionBehavior

Properties

allowFloorChange: boolean
animationDuration: number
moveCamera: boolean
showInfoWindow: boolean
zoomToFit: boolean

Methods

  • Creator for MPSelectionBehavior, used to decode JSON from the MapsIndoors SDK.

    Parameters

    • object: MPSelectionBehaviorParams

    Returns MPSelectionBehavior

    Static

Generated using TypeDoc