@vidro/map-handler 1.2.113 → 1.2.115

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 +2 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vidro/map-handler",
3
- "version": "1.2.113",
3
+ "version": "1.2.115",
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
@@ -108,12 +108,13 @@ class Communicator extends EventEmitter {
108
108
  };
109
109
 
110
110
  AddGeom = (geomtype, options) => {
111
+ console.log("debug", options);
111
112
  this.com.sendMessageToMap({
112
113
  type: "AddGeom",
113
114
  geom: geomtype,
114
115
  texts: options?.texts,
115
116
  style: options?.style,
116
- drawOnEnd: options.drawOnEnd,
117
+ drawOnEnd: options?.drawOnEnd,
117
118
  sessionToken: this.sessionToken,
118
119
  });
119
120
  };