@arenarium/maps 1.0.31 → 1.0.32
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 +5 -2
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -191,7 +191,7 @@ declare namespace Types {
|
|
|
191
191
|
markers: Marker[];
|
|
192
192
|
}
|
|
193
193
|
}
|
|
194
|
-
declare namespace MapComponent {
|
|
194
|
+
export declare namespace MapComponent {
|
|
195
195
|
interface Position {
|
|
196
196
|
lat: number;
|
|
197
197
|
lng: number;
|
|
@@ -225,7 +225,10 @@ export interface MapComponent {
|
|
|
225
225
|
setPopupsContentCallback: (callback: MapComponent.PopupContentCallback) => void;
|
|
226
226
|
setPopups: (popups: Types.Popup[]) => void;
|
|
227
227
|
}
|
|
228
|
-
export declare function mountMap(options: MapOptions):
|
|
228
|
+
export declare function mountMap(options: MapOptions): {
|
|
229
|
+
$on?(type: string, callback: (e: any) => void): () => void;
|
|
230
|
+
$set?(props: Partial<Record<string, any>>): void;
|
|
231
|
+
} & Record<string, any>;
|
|
229
232
|
export declare function unmountMap(map: ReturnType<typeof mountMap>): void;
|
|
230
233
|
|
|
231
234
|
export as namespace arenarium;
|