Book Image

Mastering ArcGIS Server Development with JavaScript

By : Raymond Kenneth Doman
Book Image

Mastering ArcGIS Server Development with JavaScript

By: Raymond Kenneth Doman

Overview of this book

Table of Contents (18 chapters)
Mastering ArcGIS Server Development with JavaScript
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

The ArcGIS compact build


The ArcGIS JavaScript API can be loaded as a more compact library for mobile browsers. The compact build, as it is called, packs the bare minimum of the libraries needed to view map applications in a mobile browser. Other modules can be downloaded through Dojo's require() statements, but many will not be preloaded with the initial library.

Modules included in the compact build

The ArcGIS compact build contains all the modules necessary to build a web map application. It loads the same as the regular ArcGIS API for JavaScript, using require() and define() statements. It also comes with the most frequently used modules, such as esri/Map and esri/layers/ArcGISDynamicMapServiceLayer, to quickly load your maps while using the least bandwidth.

What's not included

With all the functionality the ArcGIS JavaScript compact build offers, you'd think they must sacrifice something. The first thing that the compact build gives up is weight. At 179.54 KB in version 3.13, the library...