Variable dataConst
data: {
get: (
dataId: string,
options?: GetDataOptions,
) => Promise<FeatureCollection<Geometry, { [name: string]: any }>>;
} = ...
get: (
dataId: string,
options?: GetDataOptions,
) => Promise<FeatureCollection<Geometry, { [name: string]: any }>>;
} = ...
Type Declaration
get: (
dataId: string,
options?: GetDataOptions,
) => Promise<FeatureCollection<Geometry, { [name: string]: any }>>
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.