@vidro/map-handler 1.2.162 → 1.2.163

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/src/index.js +1 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vidro/map-handler",
3
- "version": "1.2.162",
3
+ "version": "1.2.163",
4
4
  "description": "Tool to achieve the easiest way of communication with the map",
5
5
  "homepage": "https://github.com/Vidro-Software-SL/maphandler",
6
6
  "repository": {
package/src/index.js CHANGED
@@ -19,6 +19,7 @@ class Communicator extends EventEmitter {
19
19
  super.removeListener(event, listener);
20
20
  }
21
21
  onMessageReceived = (e) => {
22
+ console.log("event", e);
22
23
  switch (e.data.type) {
23
24
  case "onZoomChange":
24
25
  this.emitEvent("onZoomChange", e.data, e.data.domId);