geomatics

Navigation

Tag Archives: dojo

Post navigation

If you’re building custom ArcGIS API for Javascript web applications, you might want to check out the Web Optimizer provided by Esri. It helps you by packaging your code and the required modules in one single, optimized package. The resulting code is quicker to download because it is smaller in size and it reduces the number of http requests, which is also beneficial for application loading times and performance.

There are some prerequisites:

All code must use AMD-style require and define to load and create modules. Code that uses global references to Esri and/or Dojo modules is not supported.

ArcGIS Online organization or ArcGIS for Developers account.

JS API version 3.4 or later.

Custom modules should define a package.json file that, at minimum, defines name and version properties.