isobit-ui 0.0.162 → 0.0.163
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 +3 -3
- 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.163
|
|
3
3
|
* (c) Erik Alarcon Pinedo
|
|
4
4
|
* Released under the MIT License.
|
|
5
5
|
*/
|
|
@@ -3677,7 +3677,6 @@ var script$2 = {
|
|
|
3677
3677
|
var c = [f.lon, f.lat];
|
|
3678
3678
|
p = new ol.geom.Point(c[0] > -100 ? ol.proj.fromLonLat(c) : c);
|
|
3679
3679
|
} else {
|
|
3680
|
-
console.log('Se usara la coordenada central');
|
|
3681
3680
|
p = new ol.geom.Point(map.getView().getCenter());
|
|
3682
3681
|
}
|
|
3683
3682
|
|
|
@@ -3687,7 +3686,8 @@ var script$2 = {
|
|
|
3687
3686
|
lon: c[0],
|
|
3688
3687
|
lat: c[1]
|
|
3689
3688
|
});
|
|
3690
|
-
|
|
3689
|
+
f.geometry = p;
|
|
3690
|
+
var feature = new ol.Feature(f);
|
|
3691
3691
|
feature.data = f;
|
|
3692
3692
|
|
|
3693
3693
|
if (f.draggable) {
|