Source class

A base abstract class in which all other source objects extend. A source must be added to a layer before it is visible on the map.

Extends

Constructors

Source(string)

Methods

getId()

Gets the id of the data source

Constructor Details

Source(string)

new Source(id?: string)

Parameters

id

string

Method Details

getId()

Gets the id of the data source

function getId(): string

Returns

string