首页 / 浏览问题 / WebGIS / 问题详情
超图FAQ:咨询L.supermap.layerInfoService(url,options).getLayersInfo方法中url的写法,maps后面是否需要跟底图名,直接写到maps是否正确。
69,553EXP 2026年11月27日
咨询L.supermap.layerInfoService(url,options).getLayersInfo方法中url的写法,maps后面是否需要跟底图名,直接写到maps是否正确。

1个回答

【问题原因】url需要指定到具体地图名,仅写到maps不正确。【解决办法】url需写到地图名,格式为/iserver/services/{地图服务名}/rest/maps/{地图名},参考示例 https://iclient.supermap.io/examples/leaflet/editor.html#01_layerService 。
69,553EXP 2026年11月27日
热门文章
关注我们
...