data: {
    get: ((dataId: string, options?: GetDataOptions) => Promise<FeatureCollection>);
} = ...

The data namespace contains an asynchronous function to call the MapTiler Data API. The Data API provides a way to retrieve user data in GeoJSON format.

Type declaration

Generated using TypeDoc