arcgis java api 中文_Arcgis API for Javascript 3.9最新版离线本地部署方法(英文)

Installing the ArcGIS API for JavaScript? Library

The instructions below assume that you are installing the ArcGIS

JavaScript API library in the

following location on an IIS Web Server,

"http:///arcgis_js_api/library/3.5/" where is the domain name of

your Web site. After copying files to your Web server, you will

need to edit some files to include the URL to the server and

directory that you are planning to install to.

For instructions on deploying the library on Linux please

go here.

Copy de

style="font-family: monospace, 'Courier New', Courier; color:

rgb(0, 0, 102);" >\arcgis_js_api\libraryde> and all its contents

from the DVD to your Web server. In this example the files are

copied to

de style="font-family: monospace,

'Courier New', Courier; color: rgb(0, 0, 102);"

>C:\Inetpub\wwwroot\arcgis_js_api\libraryde>

Install the Normal or Compact Build

ArcGIS JSAPI 3.5 contains two builds--a normal build and a compact

build. The compact build removes the Dojo Dijit dependancy and

minimizes the non-essential ArcGIS JSAPI classes. Please see

thedocumentation for more details.

Your directions may differ depending on your server configuration

or Web server, but the process is the same.

Configuration

options for normal build:

Open C:\Inetpub\wwwroot\arcgis_js_api\library\3.5\jsapi\init.js in

a text editor and search for the text de style="font-family: monospace, 'Courier

New', Courier; color: rgb(0, 0, 102);"

>'[HOSTNAME_AND_PATH_TO_JSAPI]'de>, and replace this text

with de

style="font-family: monospace, 'Courier New', Courier; color:

rgb(0, 0, 102);" >"/arcgis_js_api/library/3.5/jsapi/"de>

Open C:\Inetpub\wwwroot\arcgis_js_api\library\3.5\jsapi\js\dojo\dojo\dojo.js in

a text editor and search for the text de style="font-family: monospace, 'Courier

New', Courier; color: rgb(0, 0, 102);"

>'[HOSTNAME_AND_PATH_TO_JSAPI]'de>, and replace this text

with de

style="font-family: monospace, 'Courier New', Courier; color:

rgb(0, 0, 102);" >"/arcgis_js_api/library/3.5/jsapi/"de>

Configuration

options for compact build:

Open C:\Inetpub\wwwroot\arcgis_js_api\library\3.5\jsapicompact\init.js in

a text editor and search for the text de style="font-family: monospace, 'Courier

New', Courier; color: rgb(0, 0, 102);"

>'[HOSTNAME_AND_PATH_TO_JSAPI]'de>, and replace each instance of this

text with de

style="font-family: monospace, 'Courier New', Courier; color:

rgb(0, 0, 102);"

>"/arcgis_js_api/library/3.5/jsapicompact/"de>

Open C:\Inetpub\wwwroot\arcgis_js_api\library\3.5\jsapicompact\js\dojo\dojo\dojo.js in

a text editor and search for the text de style="font-family: monospace, 'Courier

New', Courier; color: rgb(0, 0, 102);"

>'[HOSTNAME_AND_PATH_TO_JSAPI]'de>, and replace this text

with de

style="font-family: monospace, 'Courier New', Courier; color:

rgb(0, 0, 102);"

>"/arcgis_js_api/library/3.5/jsapicompact/"de>

Test the Install

Access

the ArcGIS JavaScript

library from your Web server using the following URL(s):

de style="font-family: monospace,

'Courier New', Courier; color: rgb(0, 0, 102);"

>http:///arcgis_js_api/library/3.5/jsapi/init.jsde>

and

de style="font-family: monospace,

'Courier New', Courier; color: rgb(0, 0, 102);" >http:///arcgis_js_api/library/3.5/jsapicompact/init.jsde>

Test

your install. You can use the following test code

to validate your JSAPI library install.

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值