@kizmann/nano-ui 0.7.12 → 0.7.15
Sign up to get free protection for your applications and to get access to all the features.
package/package.json
CHANGED
package/src/map/src/map/map.js
CHANGED
@@ -44,6 +44,20 @@ export default {
|
|
44
44
|
return { init: false, callbacks: [], tempMap: null };
|
45
45
|
},
|
46
46
|
|
47
|
+
watch: {
|
48
|
+
|
49
|
+
lat()
|
50
|
+
{
|
51
|
+
this.tempMap.focusMarkers();
|
52
|
+
},
|
53
|
+
|
54
|
+
lng()
|
55
|
+
{
|
56
|
+
this.tempMap.focusMarkers();
|
57
|
+
}
|
58
|
+
|
59
|
+
},
|
60
|
+
|
47
61
|
mounted()
|
48
62
|
{
|
49
63
|
this.tempMap = new Map(this.$el, {
|