@kizmann/nano-ui 0.7.14 → 0.7.15

Sign up to get free protection for your applications and to get access to all the features.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kizmann/nano-ui",
3
- "version": "0.7.14",
3
+ "version": "0.7.15",
4
4
  "license": "MIT",
5
5
  "private": false,
6
6
  "author": "Eduard Kizmann <kizmann@protonmail.ch>",
@@ -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, {