@arenarium/maps 1.0.121 → 1.0.122
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/index.d.ts +3 -3
- package/dist/index.js +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
// Generated by dts-bundle-generator v9.5.1
|
|
2
2
|
|
|
3
|
-
import { MapOptions } from 'maplibre-gl';
|
|
3
|
+
import { Map as MapLibre, MapOptions } from 'maplibre-gl';
|
|
4
4
|
import { z } from 'zod';
|
|
5
5
|
|
|
6
6
|
declare const mapConfigurationSchema: z.ZodObject<{
|
|
@@ -233,7 +233,7 @@ export declare class MapManager {
|
|
|
233
233
|
private mapPopupDataArray;
|
|
234
234
|
private mapPopupDataMap;
|
|
235
235
|
private mapPopupDataUpdating;
|
|
236
|
-
constructor(map:
|
|
236
|
+
constructor(map: MapLibre, mapMarkerCallback: LibreMarkerCallback);
|
|
237
237
|
setConfiguration(configuration: MapConfiguration | null): void;
|
|
238
238
|
setColors(primary: string, background: string, text: string): void;
|
|
239
239
|
updatePopups(popups: MapPopup[]): Promise<void>;
|
|
@@ -252,7 +252,7 @@ export declare class MapManager {
|
|
|
252
252
|
export declare const MapDarkStyle: maplibregl.StyleSpecification;
|
|
253
253
|
export declare const MapStyleLight: maplibregl.StyleSpecification;
|
|
254
254
|
export declare function mountMap(options: MapOptions): {
|
|
255
|
-
|
|
255
|
+
map: MapLibre;
|
|
256
256
|
manager: MapManager;
|
|
257
257
|
unmount: () => Promise<void>;
|
|
258
258
|
};
|