Type Alias TBlueDotOptions

TBlueDotOptions: {
    accuracyRing?: {
        color?: string;
        opacity?: number;
    };
    bearing?: {
        color?: string;
        opacity?: number;
    };
    color?: string;
    debug?: boolean;
    inactiveColor?: string;
    radius?: number;
    timeout?: number;
}

Type declaration

  • OptionalaccuracyRing?: {
        color?: string;
        opacity?: number;
    }

    Options for the accuracy ring around the BlueDot.

    • Optionalcolor?: string

      The color of the accuracy ring.

      #2266ff
      
    • Optionalopacity?: number

      The opacity of the accuracy ring.

      0.3
      
  • Optionalbearing?: {
        color?: string;
        opacity?: number;
    }

    Options for the bearing directional indicator.

    • Optionalcolor?: string

      The color of the bearing cone.

      #2266ff
      
    • Optionalopacity?: number

      The opacity of the bearing cone.

      0.7
      
  • Optionalcolor?: string

    The color of the BlueDot core element.

    #2266ff
    
  • Optionaldebug?: boolean

    Whether to log debug messages.

    false
    
  • OptionalinactiveColor?: string

    The color of the BlueDot when it has timed out and gone inactive.

    #808080
    
  • Optionalradius?: number

    The radius of the BlueDot in pixels. The BlueDot will maintain this size clamped to a minimum of 0.35 metres.

    10
    
  • Optionaltimeout?: number

    The duration of the timeout in milliseconds. If the BlueDot does not receive a position update within this time, it will grey out until a position is received.

    30000