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
Was this helpful?
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.