diff --git a/src/views/pictureOnMap/inputSearch.vue b/src/views/pictureOnMap/inputSearch.vue index debceb0..ad908cf 100644 --- a/src/views/pictureOnMap/inputSearch.vue +++ b/src/views/pictureOnMap/inputSearch.vue @@ -129,7 +129,7 @@ getItem.value = arr[0]; } selectmodel.value = getItem.value.name; - let feature = turf.feature(Terraformer.WKT.parse(value), _.cloneDeep(getItem.value)); + let feature = turf.feature(Terraformer.WKT.parse(getItem.value.geometry), _.cloneDeep(getItem.value)); console.log('feature', feature); bus.emit('setHighlight', feature); newfiberMap.map.easeTo({ center: turf.getCoords(turf.center(feature)), zoom: 15 });