fix:基础设施-地图搜索 改回最初

This commit is contained in:
guoyue 2022-09-23 11:15:14 +08:00
parent f26afc84c7
commit 4dc1525520
3 changed files with 3 additions and 4 deletions

View File

@ -60,7 +60,7 @@ export function MapFun(mapObj) {
/**
* 定义地物编辑服务
*/
const featureService = L.supermap && L.supermap.featureService && L.supermap.featureService(
const featureService = L.supermap.featureService(
_mapConfig.config.EDITORDATA_URL
)

View File

@ -123,8 +123,7 @@ export function HieimpMap() {
// debugger;
//
L.supermap && L.supermap
.layerInfoService && L.supermap
L.supermap
.layerInfoService(_mapConfig.config.QUERY_URL)
.getLayersInfo(function (result) {
// doSomething

View File

@ -252,7 +252,7 @@
//
initAddressMatchService() {
this.L = window.L || {}
this.addressMatchService = L.supermap && L.supermap.addressMatchService && L.supermap.addressMatchService(
this.addressMatchService = L.supermap.addressMatchService(
this.addressMatchUrl
)
},