@abi-software/flatmapvuer 1.13.3-demo.1 → 1.13.3
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/package.json
CHANGED
|
@@ -1283,11 +1283,6 @@ export default {
|
|
|
1283
1283
|
if (this.$refs.pathwaysSelection) {
|
|
1284
1284
|
this.$refs.pathwaysSelection.reset()
|
|
1285
1285
|
}
|
|
1286
|
-
|
|
1287
|
-
this.trackEvent({
|
|
1288
|
-
'event_name': `portal_maps_zoom`,
|
|
1289
|
-
'category': 'reset',
|
|
1290
|
-
});
|
|
1291
1286
|
}
|
|
1292
1287
|
},
|
|
1293
1288
|
/**
|
|
@@ -1298,11 +1293,6 @@ export default {
|
|
|
1298
1293
|
zoomIn: function () {
|
|
1299
1294
|
if (this.mapImp) {
|
|
1300
1295
|
this.mapImp.zoomIn()
|
|
1301
|
-
|
|
1302
|
-
this.trackEvent({
|
|
1303
|
-
'event_name': `portal_maps_zoom`,
|
|
1304
|
-
'category': 'zoom_in',
|
|
1305
|
-
});
|
|
1306
1296
|
}
|
|
1307
1297
|
},
|
|
1308
1298
|
/**
|
|
@@ -1313,11 +1303,6 @@ export default {
|
|
|
1313
1303
|
zoomOut: function () {
|
|
1314
1304
|
if (this.mapImp) {
|
|
1315
1305
|
this.mapImp.zoomOut()
|
|
1316
|
-
|
|
1317
|
-
this.trackEvent({
|
|
1318
|
-
'event_name': `portal_maps_zoom`,
|
|
1319
|
-
'category': 'zoom_out',
|
|
1320
|
-
});
|
|
1321
1306
|
}
|
|
1322
1307
|
},
|
|
1323
1308
|
onSelectionsDataChanged: function (data) {
|
|
@@ -3168,19 +3153,6 @@ export default {
|
|
|
3168
3153
|
setConnectionType: function (type) {
|
|
3169
3154
|
this.connectionType = type;
|
|
3170
3155
|
},
|
|
3171
|
-
/**
|
|
3172
|
-
* @public
|
|
3173
|
-
* Function to track events.
|
|
3174
|
-
* @arg {Object} `data`
|
|
3175
|
-
*/
|
|
3176
|
-
trackEvent: function (data) {
|
|
3177
|
-
const taggingData = {
|
|
3178
|
-
'event': 'interaction_event',
|
|
3179
|
-
'location': 'flatmap',
|
|
3180
|
-
...data,
|
|
3181
|
-
};
|
|
3182
|
-
this.$emit('trackEvent', taggingData);
|
|
3183
|
-
},
|
|
3184
3156
|
},
|
|
3185
3157
|
props: {
|
|
3186
3158
|
/**
|
|
@@ -93,7 +93,6 @@
|
|
|
93
93
|
:showLocalSettings="showLocalSettings"
|
|
94
94
|
:showOpenMapButton="showOpenMapButton"
|
|
95
95
|
:showPathwayFilter="showPathwayFilter"
|
|
96
|
-
@trackEvent="trackEvent"
|
|
97
96
|
:externalLegends="externalLegends"
|
|
98
97
|
/>
|
|
99
98
|
|
|
@@ -644,19 +643,6 @@ export default {
|
|
|
644
643
|
let map = this.getCurrentFlatmap();
|
|
645
644
|
map.setConnectionType(type);
|
|
646
645
|
},
|
|
647
|
-
/**
|
|
648
|
-
* @public
|
|
649
|
-
* Function to track events.
|
|
650
|
-
* @arg {Object} `data`
|
|
651
|
-
*/
|
|
652
|
-
trackEvent: function (data) {
|
|
653
|
-
const taggingData = {
|
|
654
|
-
'event': 'interaction_event',
|
|
655
|
-
'location': 'flatmap',
|
|
656
|
-
...data,
|
|
657
|
-
};
|
|
658
|
-
this.$emit('trackEvent', taggingData);
|
|
659
|
-
},
|
|
660
646
|
},
|
|
661
647
|
props: {
|
|
662
648
|
/**
|