For AI agents: a documentation index is available at /llms.txt. Markdown versions of all pages are available by appending .md to any URL.
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.