ArcGIS Server javascript API 1.6 package of local off-line

ArcGIS Server javascript API 1.6 package local offline

Contact: alex_zengjf@sina.com

Installation ArcJS1.6 local package, using arcgis server's javascript API to access the site only papers, no access http://serverapi.arcgisonline.com , convenience can not access the external network or the client can not access the Internet, and enhance system security sex.

ArcGIS Server javascript API version 1.6, dojo library version 1.4.1, ArcJS1.6 API help file, please visit http://resources.esri.com/help/9.3/arcgisserver/apis/javascript/arcgis/help/jsapi_start. htm .

ArcJS local package for convenience only, its part of the copyright the original author, the local package on the use of this package does not assume responsibility for any associated cause, using this package, please keep this file locally.

Download: arcjs1.6 download page

1, New Function

A. increase the configuration variable esri.config.defaults.map.zoomAnimDisable, default is false; when esri.config.defaults.map.zoomAnimDisable is false,, map zoom animation using CSS; when esri.config.defaults.map.zoomAnimDisable is true when, map zoom does not use CSS animation, direct scaling, then zoom speed, low resource requirements.

B. additional configuration variables esri.config.defaults.map.SetInfoWindowInBody, default is false; when esri.config.defaults.map.SetInfoWindowInBody is false when, infowindow the parent element is the map div; when esri.config.defaults.map. SetInfoWindowInBody is true when, infowindow the parent element is the document body, then infowindow can float above, rather than in the map div. esri.config.defaults.map.SetInfoWindowInBody create esri.map only valid before the settings.

C. increase the configuration variable esri.config.defaults.map.InfoWindowbgImageUseGIF, default is false; when esri.config.defaults.map.InfoWindowbgImageUseGIF is false when, IE6 in infowindow background image is png format; when esri.config.defaults . map.InfoWindowbgImageUseGIF is true when, IE6 in infowindow background image is gif format, this time with the same name of the gif files must be stored in png files in the same directory, such as a gif file for tundra.infowindow.gif tundra.infowindow.png .
Set esri.config.defaults.map.InfoWindowbgImageUseGIF as true for the prevention of some of the major versions of IE6 and below the background image using the png format crashes. See infowindow style changes.

D.infowindow amendment, the amendment when the map where the html pages without the first line of <! DOCTYPE HTML PUBLIC "- / / W3C / / DTD HTML 4.01 / / EN" " http://www.w3.org/TR/html4/ strict.dtd ">, <meta http-equiv="X-UA-Compatible" content="IE=7" /> when IE can not display properly in the problem.

2, the installation
a, copy this directory to the site jsapi public directory [for example: C: \ Inetpub \ wwwroot \] the ArcGIS directory, such as: C: \ Inetpub \ wwwroot \ ArcGIS \ jsapi.
b, if installed in other directory, the file arcgis.js the dojo.registerModulePath ("esri", "/ arcgis / jsapi / js / esri") of "/ arcgis / jsapi / js / esri" the / arcgis / jsapi to the corresponding URL;
c, if a different domain other sites using this package, please file jsapi \ ArcGIS \ arcgis.js in dojo.registerModulePath ("esri", "/ arcgis / jsapi / js / esri") of the / arcgis / jsapi Make absolutely URL address, will dojo.registerModulePath ("esri", (location.protocol === 'file:'? 'http:': location.protocol) + '/ /' + "serverapi.arcgis.com / arcgis / jsapi / js / esri "); in serverapi.arcgis.com URL to your host's HOST.

3, infowindow style changes
infowindow relevant documents js \ esri \ dijit directories, including css / InfoWindow.css, templates / InfoWindow.html, images / .png file, modify the contents of which can change its style, as amended. png color.
images / directory, including yellow directory and default directory, which directory yellow red yellow infowindow, default directory is esri default infowindow;
tundra.infowindow.png style to use for the tundra, nihilo.infowindow.png style to use for the nihilo, soria.infowindow.png style to use for the soria;. gif files only esri.config.defaults.map.InfoWindowbgImageUseGIF is true, IE6 and below The version used.

4, dojo library
dojo library placed in js \ dojo directory, dojo library version 1.4.1, dojo official address, please visit http://www.dojotoolkit.org/ .
dojo theme file in the js \ dojo \ dijit \ themes directory, including tundra, nihilo, soria, the url for the / arcgis / jsapi / js / dojo / dijit / themes / tundra / tundra.css, / arcgis / jsapi / js / dojo / dijit / themes / nihilo / nihilo.css, / arcgis / jsapi / js / dojo / dijit / themes / soria / soria.css.

5, using the related theme of the css, js files into the file, such as:
<link rel="stylesheet" type="text/css" href="/arcgis/jsapi/js/dojo/dijit/themes/tundra/tundra.css">
<script type="text/javascript" language="Javascript" src="/arcgis/jsapi/js/dojo/dojo/dojo.js"> </ script>
<script type="text/javascript" language="Javascript" src="/arcgis/jsapi/arcgis.js"> </ script>

* Note: Use ArcJS1.2/1.3 local package files user arcgis.js new URL address "/ arcgis / jsapi / arcgis.js" middle path is not "/ js /".

Others see "ArcJS local package. Txt" file

Another: There are questions, please send to my mailbox sina

分类:Web 时间:2010-05-28 人气:352
分享到:
blog comments powered by Disqus

相关文章

  • Lo-hyun effects flying flash animation 2010-04-03

    FLASH today and the vast production of lovers sharing a special spiral-hyun animation, let us first look at the final result it! [Url = http://www.webjx.com/download.php?url=http://www.webjx.com/upfiles/20060606/20060606074000_01.rar] [1b] Click here

  • toggle一个div显示或隐藏且可扩展成自定义下拉框 2014-12-17

    本文为大家介绍下如何让一个div显示或隐藏且可扩展成自定义下拉框,具体实现如下,感兴趣的朋友可参考下,希望对大家有所帮助 $(function(){ //toggle div $("#gga").click(function(event){ event.stopPropagation(); //阻止冒泡事件 $(".toggleoption").slideToggle("fast"); }); //slideup div $(document).

  • The drop-down boxes imitation google 2010-05-26

    <! DOCTYPE html PUBLIC "- / / W3C / / DTD XHTML 1.0 Transitional / / EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv=&quo

  • jQuery main function of the application 2011-01-11

    1. Empty elements empty (); / / the contents removed, but there are elements $(document).ready(function(){ // Fire the OnClick event $("#testbutton").click( function(){ $("p#second").empty(); // To delete a node } ); }); 2. Delete elem

  • jQuery分组选择器用法实例 2013-11-06

    这篇文章主要介绍了jQuery分组选择器用法,以实例形式分析了分组选择器的功能与具体用法技巧,具有一定的参考借鉴价值,需要的朋友可以参考下 本文实例讲述了jQuery分组选择器用法.分享给大家供大家参考.具体分析如下: 分组选择器将每一个选择器匹配到的元素合并后一起返回,能够对它们进行相同的操作. 实例代码: $(".mydiv ,span") 以上代码能够匹配类名为mydiv的元素和所有的span元素.两个选择器之间要用逗号分割. 实例代码: 复制代码 代码如下: <!DOCT

  • jQuery中height()方法用法实例 2013-11-27

    这篇文章主要介绍了jQuery中height()方法用法,以实例形式较为详细分析了height()方法返回元素高度的用法与相关注意事项,具有一定的参考借鉴价值,需要的朋友可以参考下 本文实例讲述了jQuery中height()方法用法.分享给大家供大家参考.具体分析如下: 此方法可以获取或者设置匹配元素的高度值,默认单位是px. 语法结构一: $(selector).height() 不带参数的时候是返回第一个匹配元素的当前高度.实例代码: 复制代码 代码如下: <!DOCTYPE html>

  • jQuery后代选择器用法实例 2014-03-23

    这篇文章主要介绍了jQuery后代选择器用法,以设置文本颜色的实例分析了后代选择器的应用技巧,具有一定的参考借鉴价值,需要的朋友可以参考下 本文实例讲述了jQuery后代选择器用法.分享给大家供大家参考.具体分析如下: 后代选择器匹配给定的祖先元素下用以匹配的所有后代元素. 点击选择器可以查阅参考手册中所有jQuery选择器. 代码实例如下: $(".mydiv span") 以上代码匹配类名mydiv元素包含的span元素.两个选择器之间要用空格分隔. 实例代码: 复制代码 代码如下

  • jQuery中after()方法用法实例 2014-05-08

    这篇文章主要介绍了jQuery中after()方法用法,以实例形式较为详细的分析了after()方法的功能.特性与使用技巧,具有一定的参考借鉴价值,需要的朋友可以参考下 本文实例讲述了jQuery中after()方法用法.分享给大家供大家参考.具体分析如下: 此方法可向每个匹配元素的外部的尾部追加HTML内容. 特别说明: 此方法是追加内容,也就是原来的内容还在. HTML内容就是内容中可以包含HTML标签,并且能够被浏览器渲染. 文本内容是先将内容中的HTML预定义字符转换成html字符实体,

  • jQuery的text()方法用法分析 2014-05-30

    这篇文章主要介绍了jQuery的text()方法用法,以实例形式详细分析了jQuery的text()方法的定义.参数与具体用法,具有一定的参考借鉴价值,需要的朋友可以参考下 本文实例讲述了jQuery的text()方法用法.分享给大家供大家参考.具体分析如下: 此方法返回或者设置匹配元素的文本内容. 如需了解更多相关内容可参阅参考手册text()方法. 特别说明: HTML内容就是内容中可以包含HTML标签,并且能够被浏览器渲染. 文本内容是先将内容中的HTML预定义字符转换成html字符实体,

iOS 开发

Android 开发

Python 开发

JAVA 开发

开发语言

PHP 开发

Ruby 开发

搜索

前端开发

数据库

开发工具

开放平台

Javascript 开发

.NET 开发

云计算

服务器

Copyright (C) codeweblog.com, All Rights Reserved.

CodeWeblog.com 版权所有 黔ICP备15002463号-1

processed in 0.258 (s). 12 q(s)