Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ArcGIS/ArcServer OGC服务出图 #12

Closed
ParnDeedlit opened this issue Oct 22, 2018 · 0 comments
Closed

ArcGIS/ArcServer OGC服务出图 #12

ParnDeedlit opened this issue Oct 22, 2018 · 0 comments
Assignees
Labels
help wanted Extra attention is needed

Comments

@ParnDeedlit
Copy link
Member

arcgis wms服务

ArcGIS服务

点击上面的网页,弹出对应的网页如下所示:

arcserver

  1. 关注上面的红色框,第一个红色框需要注意的是一定要发布对应的WMS服务即出现“WMS”关键字眼

    如果没有WMS选项,请先发布个WMS服务,要不然webclient脚本调用不了

  2. 点击wms,获得对应的链接 http://222.247.40.204:6080/arcgis/services/hnbianjiexian/MapServer/WMSServer?request=GetCapabilities&service=WMS
  3. 将上面链接 号之前的地址复制到脚本里面
    var Layer = L.tileLayer.wms('http://222.247.40.204:6080/arcgis/services/hnbianjiexian/MapServer/WMSServer?', {
        //图层序列号
        layers: '0,1,2',
        //wms版本号
        version: '1.3.0',
        //设置地图不连续显示
        noWrap:true
    }).addTo(map);
  4. 设置对应的中心点,请注意 纬度在前面, 经度在后面 与正常的习惯相反
  5. 设置对应的显示级别
@ParnDeedlit ParnDeedlit added the help wanted Extra attention is needed label Oct 22, 2018
@ParnDeedlit ParnDeedlit self-assigned this Oct 22, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant