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 人气:353
分享到:
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).

  • CSS browser compatibility summary ie6 ie7, Fireofx 2011-05-12

    Original: http://www.52css.com/article.asp?id=1026 Collected from the Internet IE7, 6 compatibility with Fireofx approach and organize a bit. For over web2.0, please try to write code using xhtml format, but affect the CSS DOCTYPE treated as a W3C st

  • I said PHPer level distinction (Reprinted) 2010-07-02

    To be honest, writing this Zhengou boring. Originally saw a similar article in a certain shrimp, Fufei a few no problem. But last night there is a customer holding of this article asked me: do your own Lamma Outsourcing, you count paragraphs PHPer? T

  • Prototype of a brief introduction 2010-11-20

    Prototype is a JavaScript library, can be http://www.prototypejs.org/download site to download the latest version, clicking on the link "Save Target As" on it. It is very simple to use copy to the project, then: <script type="text/javasc

  • Absolute positioning of block elements margin properties 2010-11-28

    For absolutely positioned div's margin has been thought that property is valid only through the top, left, bottom, right orientation, but today only to find that not the case, so do some of their experiment: The original test file using HTML: <!DOCTY

  • 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

  • Linux three-dimensional (3D) desktop effects software installation and implementation of 2011-06-14

    First, three-dimensional effect achieved depends on the hardware card, first make your computer's graphics driver was better technology, so your computer can show off the best three-dimensional effect. Open the hardware drivers (System -> Administrat

  • Project management and defect tracking system software installation and use of MANTIS 2009-04-13

    At present, popular defect tracking systems Introduction For project management, defect tracking is a very important aspect, it can be apart from the completion of the demand for control, but also the quality of the software itself is controlled in o

iOS 开发

Android 开发

Python 开发

JAVA 开发

开发语言

PHP 开发

Ruby 开发

搜索

前端开发

数据库

开发工具

开放平台

Javascript 开发

.NET 开发

云计算

服务器

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

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

processed in 0.336 (s). 13 q(s)