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 staticMapsConst
staticMaps: {
automatic: (options?: BoundedStaticMapOptions) => string;
bounded: (boundingBox: BBox, options?: BoundedStaticMapOptions) => string;
centered: (
center: Position,
zoom: number,
options?: StaticMapBaseOptions,
) => string;
} = ...
automatic: (options?: BoundedStaticMapOptions) => string;
bounded: (boundingBox: BBox, options?: BoundedStaticMapOptions) => string;
centered: (
center: Position,
zoom: number,
options?: StaticMapBaseOptions,
) => string;
} = ...
Type Declaration
automatic: (options?: BoundedStaticMapOptions) => string
bounded: (boundingBox: BBox, options?: BoundedStaticMapOptions) => string
centered: (center: Position, zoom: number, options?: StaticMapBaseOptions) => string
The staticMaps namespace contains an synchronous function build image URL of static map, as specified by the MapTiler Static Map API. The URL of static maps can then be used within a
<img />markup element, as thesrcproperty value.