isobit-ui 0.0.160 → 0.0.164

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 +10 -10
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * isobit-ui v0.0.160
2
+ * isobit-ui v0.0.164
3
3
  * (c) Erik Alarcon Pinedo
4
4
  * Released under the MIT License.
5
5
  */
@@ -43,7 +43,6 @@ var __$_require_fs_images_triangle_down_svg____default = /*#__PURE__*/_interopDe
43
43
  //
44
44
  //
45
45
  //
46
- //
47
46
  var script$h = {
48
47
  props: {
49
48
  value: {
@@ -389,7 +388,7 @@ var __vue_render__$h = function __vue_render__() {
389
388
  staticStyle: {
390
389
  "padding": "5px"
391
390
  }
392
- }, [_vm._v("No existen resultados.")]) : _vm._e()])]), _vm._v("\n\tshoe=" + _vm._s(_vm.show) + "\n")], 1);
391
+ }, [_vm._v("No existen resultados.")]) : _vm._e()])])], 1);
393
392
  };
394
393
 
395
394
  var __vue_staticRenderFns__$h = [];
@@ -3671,24 +3670,25 @@ var script$2 = {
3671
3670
  addFeature: function addFeature(f, cfg) {
3672
3671
  f = f ? f : {};
3673
3672
  var me = this,
3674
- p,
3673
+ point,
3675
3674
  map = me.map;
3676
3675
 
3677
3676
  if (f.lon && f.lat) {
3678
3677
  var c = [f.lon, f.lat];
3679
- p = new ol.geom.Point(c[0] > -100 ? ol.proj.fromLonLat(c) : c);
3678
+ point = new ol.geom.Point(c[0] > -100 ? ol.proj.fromLonLat(c) : c);
3680
3679
  } else {
3681
- console.log('Se usara la coordenada central');
3682
- p = new ol.geom.Point(map.getView().getCenter());
3680
+ point = new ol.geom.Point(map.getView().getCenter());
3683
3681
  }
3684
3682
 
3685
- c = p.flatCoordinates;
3683
+ c = point.flatCoordinates;
3686
3684
  var c = c[0] < -10000 ? ol.proj.toLonLat(c) : c;
3687
3685
  me.$emit('translateend', {
3688
3686
  lon: c[0],
3689
3687
  lat: c[1]
3690
3688
  });
3691
- var feature = new ol.Feature(p);
3689
+ f.geometry = point;
3690
+ console.log(f);
3691
+ var feature = new ol.Feature(f);
3692
3692
  feature.data = f;
3693
3693
 
3694
3694
  if (f.draggable) {
@@ -3712,7 +3712,7 @@ var script$2 = {
3712
3712
  }
3713
3713
 
3714
3714
  feature.setStyle(me.styleMap[f.style ? f.style : 'default']);
3715
- c = p.flatCoordinates;
3715
+ c = point.flatCoordinates;
3716
3716
  c = c[0] < -10000 ? ol.proj.toLonLat(c) : c;
3717
3717
  me.$emit('translateend', {
3718
3718
  lon: c[0],
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "isobit-ui",
3
- "version": "0.0.160",
3
+ "version": "0.0.164",
4
4
  "description": "Vue component to play videos",
5
5
  "keywords": [
6
6
  "ui",