Home > @magiclane/maps-sdk > ExternalPositionData

ExternalPositionData class

Warning: This API is now obsolete.

Use SenseDataFactory.positionFromExternalData() method instead.

External position data

Signature:

export declare class ExternalPositionData 

Constructors

Constructor

Modifiers

Description

(constructor)(timestamp, latitude, longitude, altitude, heading, speed)

Constructs a new instance of the ExternalPositionData class

Properties

Property

Modifiers

Type

Description

altitude

readonly

number

heading

readonly

number

latitude

readonly

number

longitude

readonly

number

speed

readonly

number

timestamp

readonly

number

Methods

Method

Modifiers

Description

equals(other)

fromJson(json)

static

hashCode()

toJson()