@arenarium/maps 1.2.19 → 1.2.22
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/main.css +1 -1
- package/dist/main.d.ts +62 -35
- package/dist/main.js +3561 -1
- package/package.json +4 -4
package/dist/main.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.pin.svelte-
|
|
1
|
+
.pin.svelte-10kxbrm{position:absolute;border-style:solid;box-sizing:border-box;transform-origin:0% 0%;transform:translate(-50%,-50%);backface-visibility:hidden;will-change:scale}.pin.svelte-10kxbrm{display:none;content-visibility:hidden}.pin.displayed.svelte-10kxbrm{display:initial;content-visibility:initial}.pin.svelte-10kxbrm{opacity:1}.pin.suppressed.svelte-10kxbrm{opacity:.5;box-shadow:none!important}.element.svelte-1no6o2a{box-sizing:border-box}.anchor.svelte-1no6o2a{display:block;position:absolute;width:0px;height:0px;transition:filter ease-in-out 125ms}.anchor.svelte-1no6o2a>.pointer:where(.svelte-1no6o2a){position:absolute;left:0;top:0;transform-origin:0% 0%}.anchor.svelte-1no6o2a>.tooltip:where(.svelte-1no6o2a){position:absolute;left:0;top:0}.anchor.svelte-1no6o2a>.tooltip:where(.svelte-1no6o2a)>.body:where(.svelte-1no6o2a){cursor:pointer}.anchor.svelte-1no6o2a{opacity:0;will-change:opacity}.anchor.svelte-1no6o2a>.pointer:where(.svelte-1no6o2a){scale:0;transform-origin:0% 0%;will-change:transform,scale}.anchor.svelte-1no6o2a>.tooltip:where(.svelte-1no6o2a){scale:0;transform-origin:0% 0%;will-change:transform,scale}.anchor.svelte-1no6o2a>.tooltip:where(.svelte-1no6o2a)>.body:where(.svelte-1no6o2a){transform-origin:0% 0%;will-change:transform}.anchor.svelte-1no6o2a{display:none;content-visibility:hidden}.anchor.displayed.svelte-1no6o2a{display:initial;content-visibility:initial}.body.svelte-1no6o2a{backface-visibility:initial;transform-style:initial}.body.svelte-1no6o2a:hover{backface-visibility:hidden;transform-style:preserve-3d}
|
package/dist/main.d.ts
CHANGED
|
@@ -1,35 +1,62 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
1
|
+
import { MapBounds } from '@arenarium/maps-core/schemas';
|
|
2
|
+
import { MapConfiguration } from '@arenarium/maps-core/schemas';
|
|
3
|
+
import { MapCoordinates } from '@arenarium/maps-core/schemas';
|
|
4
|
+
import { MapMarkerData } from '@arenarium/maps-core/schemas';
|
|
5
|
+
import { MapProvider } from '@arenarium/maps-core/schemas';
|
|
6
|
+
import { MapProviderEvent } from '@arenarium/maps-core/schemas';
|
|
7
|
+
import { MapProviderMarker } from '@arenarium/maps-core/schemas';
|
|
8
|
+
import { MapProviderParameters } from '@arenarium/maps-core/schemas';
|
|
9
|
+
import { MapViewport } from '@arenarium/maps-core/schemas';
|
|
10
|
+
|
|
11
|
+
export { MapBounds }
|
|
12
|
+
|
|
13
|
+
export { MapConfiguration }
|
|
14
|
+
|
|
15
|
+
export { MapCoordinates }
|
|
16
|
+
|
|
17
|
+
export declare class MapManager {
|
|
18
|
+
private apiKey;
|
|
19
|
+
private mapProvider;
|
|
20
|
+
private mapStateProvider;
|
|
21
|
+
private markers;
|
|
22
|
+
private markerVisibilityManager;
|
|
23
|
+
private markerElementsManager;
|
|
24
|
+
private markerStatesManager;
|
|
25
|
+
private markerVisibilityProcessor;
|
|
26
|
+
private markerElementsProcessor;
|
|
27
|
+
private markerStateProcessor;
|
|
28
|
+
private markerStatesProcessDelay;
|
|
29
|
+
private markerStatesProcessTimeout;
|
|
30
|
+
private constructor();
|
|
31
|
+
static create(apiKey: string, mapProvider: MapProvider, mapConfiguration?: MapConfiguration): Promise<MapManager>;
|
|
32
|
+
set configuration(configuration: MapConfiguration | undefined);
|
|
33
|
+
private clear;
|
|
34
|
+
private detached;
|
|
35
|
+
private error;
|
|
36
|
+
private log;
|
|
37
|
+
private onMapMove;
|
|
38
|
+
private onMapIdle;
|
|
39
|
+
private onMapClick;
|
|
40
|
+
private onMapMarkerClick;
|
|
41
|
+
private onMarkersVisiblityProcess;
|
|
42
|
+
private onMarkersStateProcess;
|
|
43
|
+
private onMarkersRenderProcess;
|
|
44
|
+
updateMarkers(markerData: MapMarkerData[]): Promise<void>;
|
|
45
|
+
removeMarkers(): Promise<void>;
|
|
46
|
+
showPopup(id: string): void;
|
|
47
|
+
hidePopup(): void;
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
export { MapMarkerData }
|
|
51
|
+
|
|
52
|
+
export { MapProvider }
|
|
53
|
+
|
|
54
|
+
export { MapProviderEvent }
|
|
55
|
+
|
|
56
|
+
export { MapProviderMarker }
|
|
57
|
+
|
|
58
|
+
export { MapProviderParameters }
|
|
59
|
+
|
|
60
|
+
export { MapViewport }
|
|
61
|
+
|
|
62
|
+
export { }
|