@mapcreator/sdk 1.5.4 → 1.5.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/mapcreator-sdk.js +2871 -2824
- package/dist/mapcreator-sdk.umd.cjs +80 -80
- package/dist/report.html +1 -1
- package/dist/utils/bbox.d.ts +4 -0
- package/dist/utils/svgHelpers.d.ts +2 -0
- package/package.json +1 -1
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { JobObjectDataBindings } from '../types/jobObject';
|
|
2
2
|
import { Map as MapLibre } from '@mapcreator/maplibre-gl';
|
|
3
|
+
import { BBox as BBoxArray } from '../types/geometry';
|
|
3
4
|
import { ColorGenerator } from './choropleth';
|
|
4
5
|
import { Font } from '../types';
|
|
5
6
|
export declare function escapeXML(str: string): string;
|
|
@@ -15,6 +16,7 @@ export interface SvgText {
|
|
|
15
16
|
}
|
|
16
17
|
export declare function collectUsedFonts(svg: string, fontMap: Map<string, Font>): Font[];
|
|
17
18
|
export declare function injectFonts(svg: string, fonts: Font[], fontBuffers: Array<string | undefined>): string;
|
|
19
|
+
export declare function getBBox(svg: string): BBoxArray;
|
|
18
20
|
export declare class SvgHelper {
|
|
19
21
|
private _seen;
|
|
20
22
|
private _svg;
|