ArcGIS Server javascript API 1.6 package of local off-line

sponsored links
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
  • del.icio.us
  • StumbleUpon
  • Digg
  • TwitThis
  • Mixx
  • Technorati
  • Facebook
  • NewsVine
  • Reddit
  • Google
  • LinkedIn
  • YahooMyWeb

Related Posts of ArcGIS Server javascript API 1.6 package of local off-line

  • js Simplified Traditional conversion code

    js Traditional Traditional Traditional Traditional javascript code conversion conversion code Reprint Address: http://www.cnblogs.com/genson/archive/2008/04/16/1004632.html js Simplified, Traditional conversion, IE7 through, Firefox does not pass, the pos

  • Scroll js effects

    Scroll js effects <div> <div> <img src ="<%= request.getContextPath ()%> / Letousky / jsp / img / loading.gif "> <br/> Loading ...</ div> <! - This type of tolerance has been part of the document wrote kaij

  • JS Study Notes

    alert ( "text") alert box confirm ( "Text") to confirm the box click OK return true, otherwise return false prompt ( "Text", "default value") prompt box JS events onload onOnload onFocus onBlur and onchange onSubmit

  • javascript form

    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <title>formUtil.html</title> <meta http-equiv="keywords" content="keyword1,keyword2,keyword3"> <meta http-equiv="description" content="thi

  • prototype of Ajax.updater () method

    bring their own rails in prototype.js <a href="javascript:void addlist('cunzhuang',cunzhuangs,zoomlarger)"> village </ a> | Cunzhuang''in rthml is another page in ror should not increase in rhtml suffix html or. ...

  • Javascript in the browser environment (vi) incident

    Matter Examples of a lot of events. Such as user input, the click of a button and so on. Can put a javascript function assigned to an event (this can be called the event listener or event handler), when the incident happened, and will perform this functio

  • js version of Ant Colony Algorithm

    <!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="Content-Type" content="text/html; charset=gb

  • Read "prototype.js 1.4 Developer Edition Manual" excerpt

    Information Address: http://thinhunan.cnblogs.com/archive/2006/04/01/DeveloperNotesForPrototype.html Extract 1, $ F () function Function: Return of any form input control value, the parameters are the element id or the element itself Example: <script

  • Wait for prompt js General category

    This is a very easy-to-use widget, the parameters have default values, default values, see the Notes wait = new WaitingTip(); wait.show(document.getElementById('id')); //Parameter 1 is displayed, in reference to the object ... wait.hide(); //Hide The use

  • SUI-JavaScript rich UI library integration solution

    Introduction: SUI is not a class implementation of the UI, nor is it a standard set of UI markup language, it is just to help the existing UI frameworks (such as Ext, YUI like) to mark the way to the statement and the creation of UI. The names of these ta

blog comments powered by Disqus
Recent
Recent Entries
Tag Cloud
Random Entries