isobit-ui 0.0.170 → 0.0.174
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/dist/index.js +10 -8
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* isobit-ui v0.0.
|
|
2
|
+
* isobit-ui v0.0.174
|
|
3
3
|
* (c) Erik Alarcon Pinedo
|
|
4
4
|
* Released under the MIT License.
|
|
5
5
|
*/
|
|
@@ -3742,7 +3742,6 @@ var script$2 = {
|
|
|
3742
3742
|
var layer = map.getLayerById(f.layer);
|
|
3743
3743
|
|
|
3744
3744
|
if (!layer) {
|
|
3745
|
-
console.log('agregar el feature en layer final');
|
|
3746
3745
|
map.addLayer(new ol.layer.Vector({
|
|
3747
3746
|
id: f.layer,
|
|
3748
3747
|
source: new ol.source.Vector({
|
|
@@ -3753,13 +3752,12 @@ var script$2 = {
|
|
|
3753
3752
|
} else me.collection.push(feature);
|
|
3754
3753
|
|
|
3755
3754
|
if (cfg) {
|
|
3756
|
-
console.log('animate');
|
|
3757
3755
|
console.log(feature.getGeometry().getCoordinates());
|
|
3758
|
-
me.map.getView().animate({
|
|
3756
|
+
me.map.getView().animate(Object.assign({
|
|
3759
3757
|
center: feature.getGeometry().getCoordinates(),
|
|
3760
3758
|
zoom: 17,
|
|
3761
3759
|
duration: 500
|
|
3762
|
-
});
|
|
3760
|
+
}, cfg));
|
|
3763
3761
|
}
|
|
3764
3762
|
|
|
3765
3763
|
return feature;
|
|
@@ -4048,7 +4046,8 @@ var __vue_component__$2 = /*#__PURE__*/__vue_normalize____default['default']({
|
|
|
4048
4046
|
//
|
|
4049
4047
|
var script$1 = {
|
|
4050
4048
|
props: {
|
|
4051
|
-
icon: String
|
|
4049
|
+
icon: String,
|
|
4050
|
+
visible: 1
|
|
4052
4051
|
},
|
|
4053
4052
|
computed: {
|
|
4054
4053
|
slotPassed: function slotPassed() {
|
|
@@ -4093,6 +4092,9 @@ var script$1 = {
|
|
|
4093
4092
|
methods: {
|
|
4094
4093
|
enter: function enter(e) {
|
|
4095
4094
|
if (e.x) this.$emit('click', e);
|
|
4095
|
+
},
|
|
4096
|
+
toggle: function toggle() {
|
|
4097
|
+
this.visible = !!!this.visible;
|
|
4096
4098
|
}
|
|
4097
4099
|
}
|
|
4098
4100
|
};
|
|
@@ -4112,8 +4114,8 @@ var __vue_render__$1 = function __vue_render__() {
|
|
|
4112
4114
|
directives: [{
|
|
4113
4115
|
name: "show",
|
|
4114
4116
|
rawName: "v-show",
|
|
4115
|
-
value: _vm.ready,
|
|
4116
|
-
expression: "ready"
|
|
4117
|
+
value: _vm.ready && _vm.visible,
|
|
4118
|
+
expression: "ready&&visible"
|
|
4117
4119
|
}],
|
|
4118
4120
|
staticClass: "ol-unselectable ol-control"
|
|
4119
4121
|
}, [_vm._t("default"), _vm._v(" "), !_vm.slotUsed ? _c('button', {
|