@kizmann/pico-js 0.4.9 → 0.4.11
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/pico-js.js +1 -1
- package/dist/pico-js.js.map +1 -1
- package/package.json +1 -1
- package/src/library/map.js +4 -1
package/package.json
CHANGED
package/src/library/map.js
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
import { Obj, Arr, Any, Dom, UUID } from "../index.js";
|
1
|
+
import { Obj, Arr, Any, Dom, Event, UUID } from "../index.js";
|
2
2
|
|
3
3
|
/**
|
4
4
|
* @const {object} google
|
@@ -417,6 +417,9 @@ export default class Map
|
|
417
417
|
item.marker.addListener('click', () => this.toggleInfo(key));
|
418
418
|
item.info.addListener('closeclick', () => this.closeInfo(key));
|
419
419
|
|
420
|
+
// Dom change event
|
421
|
+
item.info.addListener('domready', () => Event.fire('MapsDomReady'));
|
422
|
+
|
420
423
|
Obj.set(this.markers, key, item);
|
421
424
|
|
422
425
|
return Obj.get(this.markers, key);
|