arcGis 用程序添加要素;基于arcGis Service rest 的 addFeatures ;unable to add features
先贴代码;
url 是arcGis Service Rest 的地址 addFeatures
Feature Feature是你要添加的要素,格式特别注意,对应自己想添加的类型
f 是Format类型 json 和 pjson都可以
dataType 数据类型 jsonp 据说可以解决跨域问题
特别注意:
1. Feature外层一定要有[ ];;
2. type 要是 post ;如果是get