isobit-ui 0.0.170 → 0.0.171
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 -5
- 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.171
|
|
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;
|