官术网_书友最值得收藏!

Features of the API

The ArcGIS JavaScript API provides many of the tools necessary to build robust web map applications. It can generate slippy maps, interactive maps that let the user pan and zoom in. The behavior is similar to Google or Bing Maps, but with your data. You're in control of the content, from background imagery to markers and popup content. With ArcGIS Server, you have control over how the maps are laid out, and which colors, styles, and fonts you use. The API also comes with custom elements that let you do everything from drawing on the map, searching for data, measuring things on the map, and printing the map in multiple formats.

The ArcGIS JavaScript API is built on top of the Dojo framework (www.dojotoolkit.org).You also have access to an extensive package of free HTML form elements, controls, and layout elements for your web applications because Dojo comes packaged with the API. These Dojo user controls have been tested in multiple browsers, and include an entire library of items that can be used to make a mobile application. While the ArcGIS JavaScript API is built with Dojo, it also works well with other libraries such as jQuery and AngularJS.

The ArcGIS JavaScript API was designed and built, along with an ArcGIS API, for Flash and Silverlight. Unlike other APIs which require specialized compilers, plugins, and related software, the ArcGIS JavaScript API can be written with a simple text editor and viewed on most common browsers without any special plugins. Since mobile browsers, such as Safari for iPad and Chrome for Android, do not support third party plugins, the ArcGIS JavaScript API is the preferred choice for creating interactive map websites for the mobile platform.

Tip

Now, it is possible to code a website using Windows Notepad, just like it's possible to hike up Mount Everest without a guide. But when things go wrong, you will probably want to use a free text editor with syntax highlighting and other features, such as NotePad++ (http://notepad-plus-plus.org/), Aptana Studio 3 (http://www.aptana.com/products/studio3.html), or Visual Studio Code (http://code.visualstudio.com) for Windows, Brackets (http://brackets.io) or Textmate (http://macromates.com/) for Mac, or Kate (http://kate-editor.org/), Emacs (http://www.gnu.org/software/emacs/), or vim (http://www.vim.org/) for Linux. If you want text editors that aren't free, but offer more features and support, you can check out Sublime Text (http://www.sublimetext.com/) or Webstorm (http://www.jetbrains.com/webstorm/).

主站蜘蛛池模板: 金平| 庄浪县| 收藏| 买车| 香格里拉县| 香河县| 钟山县| 武强县| 赤峰市| 宿松县| 宜君县| 双峰县| 天津市| 偃师市| 申扎县| 明水县| 增城市| 巢湖市| 张掖市| 哈密市| 连云港市| 资源县| 友谊县| 巫山县| 怀集县| 江孜县| 喀什市| 鹤峰县| 苏尼特右旗| 于都县| 临夏县| 福建省| 搜索| 阳城县| 苍梧县| 灵石县| 巫溪县| 石河子市| 车险| 巫山县| 昭平县|