@dative-gpi/foundation-shared-components 1.0.158-maps2 → 1.0.158-maps4
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/components/map/FSMapMarker.vue +10 -10
- package/package.json +4 -4
|
@@ -102,27 +102,27 @@ export default {
|
|
|
102
102
|
});
|
|
103
103
|
|
|
104
104
|
const onClick = (event: MouseEvent) => {
|
|
105
|
+
if(props.to) {
|
|
106
|
+
handleRoutingEvent(event, props.to, true);
|
|
107
|
+
return;
|
|
108
|
+
}
|
|
109
|
+
|
|
105
110
|
emit('click', {
|
|
106
111
|
...event,
|
|
107
112
|
latlng: props.latlng
|
|
108
113
|
});
|
|
114
|
+
}
|
|
109
115
|
|
|
110
|
-
|
|
116
|
+
const onAuxClick = (event: MouseEvent) => {
|
|
117
|
+
if(props.to) {
|
|
118
|
+
handleRoutingEvent(event, props.to);
|
|
111
119
|
return;
|
|
112
120
|
}
|
|
113
|
-
handleRoutingEvent(event, props.to);
|
|
114
|
-
}
|
|
115
121
|
|
|
116
|
-
const onAuxClick = (event: MouseEvent) => {
|
|
117
122
|
emit('auxclick', {
|
|
118
123
|
...event,
|
|
119
124
|
latlng: props.latlng
|
|
120
125
|
});
|
|
121
|
-
|
|
122
|
-
if(!props.to) {
|
|
123
|
-
return;
|
|
124
|
-
}
|
|
125
|
-
handleRoutingEvent(event, props.to);
|
|
126
126
|
}
|
|
127
127
|
|
|
128
128
|
watch(map, () => {
|
|
@@ -161,7 +161,7 @@ export default {
|
|
|
161
161
|
|
|
162
162
|
newMarkerElement.addEventListener('click', onClick);
|
|
163
163
|
newMarkerElement.addEventListener('auxclick', onAuxClick);
|
|
164
|
-
});
|
|
164
|
+
}, { immediate: true });
|
|
165
165
|
|
|
166
166
|
onUnmounted(() => {
|
|
167
167
|
if(actualMarker.value && map.value) {
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dative-gpi/foundation-shared-components",
|
|
3
3
|
"sideEffects": false,
|
|
4
|
-
"version": "1.0.158-
|
|
4
|
+
"version": "1.0.158-maps4",
|
|
5
5
|
"description": "",
|
|
6
6
|
"publishConfig": {
|
|
7
7
|
"access": "public"
|
|
@@ -10,8 +10,8 @@
|
|
|
10
10
|
"author": "",
|
|
11
11
|
"license": "ISC",
|
|
12
12
|
"dependencies": {
|
|
13
|
-
"@dative-gpi/foundation-shared-domain": "1.0.158-
|
|
14
|
-
"@dative-gpi/foundation-shared-services": "1.0.158-
|
|
13
|
+
"@dative-gpi/foundation-shared-domain": "1.0.158-maps4",
|
|
14
|
+
"@dative-gpi/foundation-shared-services": "1.0.158-maps4"
|
|
15
15
|
},
|
|
16
16
|
"peerDependencies": {
|
|
17
17
|
"@dative-gpi/bones-ui": "^1.0.0",
|
|
@@ -35,5 +35,5 @@
|
|
|
35
35
|
"sass": "1.71.1",
|
|
36
36
|
"sass-loader": "13.3.2"
|
|
37
37
|
},
|
|
38
|
-
"gitHead": "
|
|
38
|
+
"gitHead": "3d872b5584f1b8ba7f4db0681fc43d1424a5fbbd"
|
|
39
39
|
}
|