使用产品: iserver 10i
操作系统: win server
数据类型: 文件型
问题详细描述: 使用mapboxgl.supermap.ThemeService(dataUrl)做服务器端渲染, 提示tempLayersSet.json 400
问题步骤重现:
1. 使用iserver发布工作空间,选择地图和数据服务
2.
let dataUrl = "http:xxxxx:8090/iserver/services/map-road_data/rest/maps/layerName";
let themeUnique = new mapboxgl.supermap.ThemeUnique({
uniqueExpression: "Station_ID",
items: themeUniqueItemes,
defaultStyle: style1
});
let themeParameters = new mapboxgl.supermap.ThemeParameters({
datasetNames: [""],
dataSourceNames: [""],
themes: [themeUnique]
});
new mapboxgl.supermap.ThemeService(dataUrl).getThemeInfo(themeParameters, function (serviceResult) {
}
3. 提示xxxx/tempLayersSet.json 400