isobit-ui 0.0.150 → 0.0.154

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.
Files changed (2) hide show
  1. package/dist/index.js +9 -4
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * isobit-ui v0.0.150
2
+ * isobit-ui v0.0.154
3
3
  * (c) Erik Alarcon Pinedo
4
4
  * Released under the MIT License.
5
5
  */
@@ -3281,7 +3281,12 @@ var script$3 = {
3281
3281
  var me = this,
3282
3282
  map = me.map;
3283
3283
  console.log('me.map=' + me.map);
3284
- if (v == me.lastScope) return;
3284
+
3285
+ if (v == me.lastScope) {
3286
+ map.getView().fit([-8756221.995832639, -1207995.483261405, -8541070.763947014, -899052.0546471546], map.getSize());
3287
+ return;
3288
+ }
3289
+
3285
3290
  if (v < 100) v = v * 10000; //si es provincia se aumenta
3286
3291
  //if(me.pl){
3287
3292
 
@@ -3727,7 +3732,7 @@ var script$2 = {
3727
3732
  animate: function animate(o) {
3728
3733
  this.map.getView().animate(o); //si zoom y coordnada son igual eejecura l complte directamente
3729
3734
 
3730
- this.movingCompleted = o.completed;
3735
+ this.movingCompleted = o.complete;
3731
3736
  },
3732
3737
  build: function build() {
3733
3738
  var _this = this;
@@ -3868,7 +3873,7 @@ var script$2 = {
3868
3873
  map.getView().getZoom();
3869
3874
  map.on('moveend', function (evt) {
3870
3875
  if (_this.movingCompleted) {
3871
- _this.movingCompleted(me);
3876
+ _this.movingCompleted(m);
3872
3877
 
3873
3878
  _this.movingCompleted = null;
3874
3879
  } //console.log(evt);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "isobit-ui",
3
- "version": "0.0.150",
3
+ "version": "0.0.154",
4
4
  "description": "Vue component to play videos",
5
5
  "keywords": [
6
6
  "ui",