isobit-ui 0.0.169 → 0.0.170

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 +11 -7
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * isobit-ui v0.0.169
2
+ * isobit-ui v0.0.170
3
3
  * (c) Erik Alarcon Pinedo
4
4
  * Released under the MIT License.
5
5
  */
@@ -3740,12 +3740,16 @@ var script$2 = {
3740
3740
 
3741
3741
  if (f.layer != null) {
3742
3742
  var layer = map.getLayerById(f.layer);
3743
- if (!layer) map.addLayer(new ol.layer.Vector({
3744
- id: f.layer,
3745
- source: new ol.source.Vector({
3746
- features: new ol.Collection([feature])
3747
- })
3748
- }));else layer.getSource().addFeatures(feature);
3743
+
3744
+ if (!layer) {
3745
+ console.log('agregar el feature en layer final');
3746
+ map.addLayer(new ol.layer.Vector({
3747
+ id: f.layer,
3748
+ source: new ol.source.Vector({
3749
+ features: new ol.Collection([feature])
3750
+ })
3751
+ }));
3752
+ } else layer.getSource().addFeatures(feature);
3749
3753
  } else me.collection.push(feature);
3750
3754
 
3751
3755
  if (cfg) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "isobit-ui",
3
- "version": "0.0.169",
3
+ "version": "0.0.170",
4
4
  "description": "Vue component to play videos",
5
5
  "keywords": [
6
6
  "ui",