@yarrow-uz/yarrow-map-web-sdk 1.0.43 → 1.0.45
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/CHANGELOG.md +64 -0
- package/README.md +12 -4
- package/dist/config/main.d.ts +4 -1
- package/dist/main.js +3 -3
- package/dist/maps/yarrow.d.ts +2 -1
- package/dist/module.js +3 -3
- package/dist/react/index.js +1 -1
- package/dist/react/useYarrowMap.d.ts +1 -0
- package/dist/yarrow.css +1 -1
- package/package.json +4 -3
package/dist/maps/yarrow.d.ts
CHANGED
|
@@ -16,6 +16,7 @@ type YarrowMapConfigOptions = {
|
|
|
16
16
|
cache?: CacheConfig;
|
|
17
17
|
brandBadgePosition?: BrandBadgePosition;
|
|
18
18
|
controls?: YarrowControlsConfig;
|
|
19
|
+
apiKey: string;
|
|
19
20
|
};
|
|
20
21
|
type NormalizedCacheConfig = {
|
|
21
22
|
enabled: boolean;
|
|
@@ -76,8 +77,8 @@ declare class YarrowMapConfig {
|
|
|
76
77
|
cache: NormalizedCacheConfig;
|
|
77
78
|
brandBadgePosition: BrandBadgePosition;
|
|
78
79
|
controls: NormalizedYarrowControlsConfig;
|
|
80
|
+
apiKey: string;
|
|
79
81
|
constructor(config: YarrowMapConfigOptions);
|
|
80
|
-
constructor(container: HTMLElement | string, center: [number, number], zoom?: number, minZoom?: number, maxZoom?: number, theme?: 'light' | 'dark', cache?: CacheConfig, brandBadgePosition?: BrandBadgePosition, controls?: YarrowControlsConfig);
|
|
81
82
|
}
|
|
82
83
|
declare class YarrowMap {
|
|
83
84
|
private static isCacheProtocolRegistered;
|