isobit-ui 0.0.165 → 0.0.166

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 +5 -3
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * isobit-ui v0.0.165
2
+ * isobit-ui v0.0.166
3
3
  * (c) Erik Alarcon Pinedo
4
4
  * Released under the MIT License.
5
5
  */
@@ -3727,8 +3727,10 @@ var script$2 = {
3727
3727
  me.map.addInteraction(translateIteraction);
3728
3728
  }
3729
3729
 
3730
- console.log('type=' + _typeof(f.style));
3731
- if (!f.style || typeof f.style == 'string') feature.setStyle(me.styleMap[f.style ? f.style : 'default']);
3730
+ if (_typeof(f.style) == 'object') {
3731
+ feature.setStyle(f.style);
3732
+ } else feature.setStyle(me.styleMap[f.style ? f.style : 'default']);
3733
+
3732
3734
  c = point.flatCoordinates;
3733
3735
  c = c[0] < -10000 ? ol.proj.toLonLat(c) : c;
3734
3736
  me.$emit('translateend', {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "isobit-ui",
3
- "version": "0.0.165",
3
+ "version": "0.0.166",
4
4
  "description": "Vue component to play videos",
5
5
  "keywords": [
6
6
  "ui",