ArcGIS API

ArcGIS API for JavaScript V4.0:

在线引用:

  1. 引用样式:

    <link type="text/css" rel="stylesheet" href="http://arcgis.api.luyutao.com/arcgis_js_v40_api/arcgis_js_api/library/4.0/4.0/esri/css/main.css" />

  2. 引用脚本:

    <script type="text/javascript" src="http://arcgis.api.luyutao.com/arcgis_js_v40_api/arcgis_js_api/library/4.0/4.0/init.js"></script>

离线部署:

  1. 下载离线部署包“arcgis_js_v40.zip”:
    http://arcgis.api.luyutao.com/arcgis_js_v40.zip
  2. 设置JavaScript全局变量:
    var ARCGIS_JS_API_HOST_PATH = window.location.host + [部署路径];
    
  3. 引用样式:

    <link type="text/css" rel="stylesheet" href="[部署路径]esri/css/main.css" />

  4. 引用脚本:

    <script type="text/javascript" src="[部署路径]init.js"></script>

在线示例:
http://arcgis.api.luyutao.com/arcgis_js_v40_api.html

在线手册:
http://arcgis.api.luyutao.com/arcgis_js_v40_sdk/arcgis_js_api/sdk/index.html

ArcGIS API for JavaScript V3.17:

在线引用(调试版):

  1. 引用样式:

    <link type="text/css" rel="stylesheet" href="http://arcgis.api.luyutao.com/arcgis_js_v317_api/arcgis_js_api/library/3.17/3.17/esri/css/esri.css" />

  2. 引用脚本:

    <script type="text/javascript" src="http://arcgis.api.luyutao.com/arcgis_js_v317_api/arcgis_js_api/library/3.17/3.17/init.js"></script>

在线引用(压缩版):

  1. 引用样式:

    <link type="text/css" rel="stylesheet" href="http://arcgis.api.luyutao.com/arcgis_js_v317_api/arcgis_js_api/library/3.17/3.17compact/esri/css/esri.css" />

  2. 引用脚本:

    <script type="text/javascript" src="http://arcgis.api.luyutao.com/arcgis_js_v317_api/arcgis_js_api/library/3.17/3.17compact/init.js"></script>

离线部署:

  1. 下载离线部署包“arcgis_js_v317.zip”:
    http://arcgis.api.luyutao.com/arcgis_js_v317.zip
  2. 设置JavaScript全局变量:
    var ARCGIS_JS_API_HOST_PATH = window.location.host + [部署路径];
    
  3. 引用样式:

    <link type="text/css" rel="stylesheet" href="[部署路径]esri/css/esri.css" />

  4. 引用脚本:

    <script type="text/javascript" src="[部署路径]init.js"></script>

在线示例:
http://arcgis.api.luyutao.com/arcgis_js_v317_api.html

在线手册:
http://arcgis.api.luyutao.com/arcgis_js_v317_sdk/arcgis_js_api/sdk/index.html

更多信息请参阅:http://arcgis.api.luyutao.com/