您好,您這(zhè)邊是(shì)要(yào / yāo)在(zài)OpenLayers上(shàng)渲染出(chū)來(lái)還是(shì)添加到(dào)iServer的(de)服務的(de)數據集中?如果是(shì)前者,可以(yǐ)創建一(yī / yì /yí)個(gè)vectorlayer存儲繪制的(de)geometry,參考這(zhè)個(gè):https://iclient.supermap.io/examples/openlayers/editor.html#drawFeatures;如果是(shì)後者,可以(yǐ)對數據服務開始可編輯,然後對iServer發送Post請求,添加要(yào / yāo)素:https://iclient.supermap.io/examples/openlayers/editor.html#02_editFeatures
可以(yǐ)參考幫助文檔中這(zhè)個(gè)接口的(de)介紹:http://support.supermap.com.cn/DataWarehouse/WebDocHelp/iServer/mergedProjects/SuperMapiServerRESTAPI/root/data/datasources/datasource/datasets/dataset/features/features.htm#POST%20%E8%AF%B7%E6%B1%82