Home > @magiclane/maps-sdk > PositionService > getDataSource

PositionService.getDataSource() method

Gets the current data source used for position data

Signature:

getDataSource(): DataSource | null;

Returns:

DataSource | null

The data source or null if none exists

Exceptions

An exception if it fails