先贴代码;

arcGis 用程序添加要素;基于arcGis Service rest 的 addFeatures ;unable to add features

url      是arcGis Service Rest 的地址 addFeatures

Feature    Feature是你要添加的要素,格式特别注意,对应自己想添加的类型

f       是Format类型arcGis 用程序添加要素;基于arcGis Service rest 的 addFeatures ;unable to add features  json 和  pjson都可以

dataType  数据类型  jsonp 据说可以解决跨域问题

特别注意:

1. Feature外层一定要有[ ];arcGis 用程序添加要素;基于arcGis Service rest 的 addFeatures ;unable to add features;

2. type 要是 post ;如果是get arcGis 用程序添加要素;基于arcGis Service rest 的 addFeatures ;unable to add features

 

 

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-08-28
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2021-06-19
  • 2022-12-23
  • 2021-05-26
  • 2021-07-04
  • 2022-12-23
  • 2022-01-10
  • 2022-12-23
相关资源
相似解决方案