使用产品:iserver 10i 操作系统:win10 x64
数据类型: 文件型
问题详细描述:反距离权重插值
问题重现步骤:
1.按照官方iclient for leaflet 的插值例子去模拟
themeService.getThemeInfo(themeParameters, function (getThemeInfoServiceResult) {
var result = getThemeInfoServiceResult.result;
console.log(result);
if (result && result.newResourceID) {
themeLayer = L.supermap.tiledMapLayer(baseUrl, {
layersID: result.newResourceID,
}).addTo(map);
}
});
2.最终插值完成后打印object结果 console.log(result);
官方:
- newResourceID: "0dcb7140600345b7a488c2c9f86f0538_611fd101b7f94ecc9e232604b02da771"
- newResourceLocation: "http://localhost:8090/iserver/services/map-temperature/rest/maps/全国温度变化图/tempLayersSet/0dcb7140600345b7a488c2c9f86f0538_611fd101b7f94ecc9e232604b02da771.json"
- postResultType: "CreateChild"
- succeed: true
- __proto__: Object
我的:
- newResourceID: "0dcb7140600345b7a488c2c9f86f0538_f9c6617d3d624fbf9328dd275e381934"
- newResourceLocation: "http://localhost:8090/iserver/services/map-zuihouyicici/rest/maps/sanjiao1@zuihyici/tempLayersSet/0dcb7140600345b7a488c2c9f86f0538_f9c6617d3d624fbf9328dd275e381934.json"
- postResultType: "CreateChild"
- succeed: true
- __proto__: Object
说明是插值完成了的,就是没办法展示到地图上,试过很多遍了,都是这个样子