cd-mapgis 1.0.76 → 1.0.77
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/package.json +1 -1
- package/src/OM.js +3 -3
package/package.json
CHANGED
package/src/OM.js
CHANGED
|
@@ -227,9 +227,9 @@ export default class OM {
|
|
|
227
227
|
}
|
|
228
228
|
}
|
|
229
229
|
//再加载geoServer接口图层
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
230
|
+
let pushLayerParam = (p.server && p.server.data) ? p.server.data : {};
|
|
231
|
+
let res = await OM.post("/map/getPushLayer", pushLayerParam);
|
|
232
|
+
if (res != null && res.data != null) {
|
|
233
233
|
let d = res.data;
|
|
234
234
|
let layerInfos = d.layerInfos;
|
|
235
235
|
let wmsUrl = InnerUtil.getGeoServerUrl(d.wmsUrl, geoLayerUrl);
|