Type alias TEnableBlueDotOptions

TEnableBlueDotOptions: {
    allowImplicitFloorLevel?: boolean;
    baseColor?: string;
    positionUpdater?: IPositionUpdater;
    showBearing?: boolean;
    smoothing?: boolean;
    useRotationMode?: boolean;
}

Type declaration

  • Optional allowImplicitFloorLevel?: boolean

    For venues that do not provide level updates, assume the user is always on the default map If this is false, and no level information is found from position updates, blueDotUpdate events will not include the nearest node This should probably be set true for single floor venues that have no level information in position updates

    Default Value

    false
    
  • Optional baseColor?: string

    Override the default color of the Blue Dot. We interpolate other colors, (such as aura and bearing) from this base color

    Default Value

    '#2266ff'
    
  • Optional positionUpdater?: IPositionUpdater

    Custom positionUpdater

    Default Value

    undefined
    
  • Optional showBearing?: boolean

    Show Bearing

    Default Value

    false
    
  • Optional smoothing?: boolean

    Smooth incoming position updates. Set to false if smoothing happens outside the SDK

    Default Value

    true
    
  • Optional useRotationMode?: boolean

    Whether to use the rotated view while following the user's position.

    Default Value

    false