diff --git a/src/views/DialogTabs/component/streetscape.vue b/src/views/DialogTabs/component/streetscape.vue index e909c09..4b5e952 100644 --- a/src/views/DialogTabs/component/streetscape.vue +++ b/src/views/DialogTabs/component/streetscape.vue @@ -101,11 +101,10 @@ gcoord.transform(position_Street, gcoord.WGS84, gcoord.BD09); AllData.poiCircle = position_Street.geometry.coordinates; console.log('🚀 ~ showAllStreet ~ AllData.poiCircle:', AllData.poiCircle); - setTimeout(() => { - AllData.panorama.setPosition( - new BMapGL.Point(position_Street.geometry.coordinates[0], position_Street.geometry.coordinates[1]) - ); - }, 2000); + + AllData.panorama.setPosition( + new BMapGL.Point(position_Street.geometry.coordinates[0], position_Street.geometry.coordinates[1]) + ); searchPoiByLonlat(); gcoord.transform(position_Street, gcoord.BD09, gcoord.WGS84);