首页 / 浏览问题 / WebGIS / 问题详情
vue使用iclient for openlayers 绘制点线面后 如何回传到iserver的图层中
2EXP 2024年09月19日
暂无

1个回答

您好,您这边是要在OpenLayers上渲染出来还是添加到iServer的服务的数据集中?如果是前者,可以创建一个vectorlayer存储绘制的geometry,参考这个:https://iclient.supermap.io/examples/openlayers/editor.html#drawFeatures;如果是后者,可以对数据服务开始可编辑,然后对iServer发送Post请求,添加要素:https://iclient.supermap.io/examples/openlayers/editor.html#02_editFeatures

941EXP 2024年09月19日
请问对iServer发送Post请求 发送的数据是什么格式呢?有参考示例嘛
...