@abi-software/flatmapvuer 1.12.2-demo.0 → 1.12.2
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) {
|
|
@@ -3166,19 +3151,6 @@ export default {
|
|
|
3166
3151
|
setConnectionType: function (type) {
|
|
3167
3152
|
this.connectionType = type;
|
|
3168
3153
|
},
|
|
3169
|
-
/**
|
|
3170
|
-
* @public
|
|
3171
|
-
* Function to track events.
|
|
3172
|
-
* @arg {Object} `data`
|
|
3173
|
-
*/
|
|
3174
|
-
trackEvent: function (data) {
|
|
3175
|
-
const taggingData = {
|
|
3176
|
-
'event': 'interaction_event',
|
|
3177
|
-
'location': 'flatmap',
|
|
3178
|
-
...data,
|
|
3179
|
-
};
|
|
3180
|
-
this.$emit('trackEvent', taggingData);
|
|
3181
|
-
},
|
|
3182
3154
|
},
|
|
3183
3155
|
props: {
|
|
3184
3156
|
/**
|
|
@@ -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
|
/**
|
package/src/components.d.ts
CHANGED
|
@@ -8,7 +8,6 @@ export {}
|
|
|
8
8
|
declare module 'vue' {
|
|
9
9
|
export interface GlobalComponents {
|
|
10
10
|
DynamicLegends: typeof import('./components/legends/DynamicLegends.vue')['default']
|
|
11
|
-
ElAutocomplete: typeof import('element-plus/es')['ElAutocomplete']
|
|
12
11
|
ElButton: typeof import('element-plus/es')['ElButton']
|
|
13
12
|
ElCheckbox: typeof import('element-plus/es')['ElCheckbox']
|
|
14
13
|
ElCheckboxGroup: typeof import('element-plus/es')['ElCheckboxGroup']
|
|
@@ -25,7 +24,6 @@ declare module 'vue' {
|
|
|
25
24
|
ElRadioGroup: typeof import('element-plus/es')['ElRadioGroup']
|
|
26
25
|
ElRow: typeof import('element-plus/es')['ElRow']
|
|
27
26
|
ElSelect: typeof import('element-plus/es')['ElSelect']
|
|
28
|
-
ElSwitch: typeof import('element-plus/es')['ElSwitch']
|
|
29
27
|
FlatmapError: typeof import('./components/FlatmapError.vue')['default']
|
|
30
28
|
FlatmapVuer: typeof import('./components/FlatmapVuer.vue')['default']
|
|
31
29
|
LegendItem: typeof import('./components/legends/LegendItem.vue')['default']
|