dvd.crm

dojo custom build and layers

Discussion created by dvd.crm on Apr 19, 2010
Latest reply on Oct 28, 2010 by coreyalix01
Hi there,
I would like to make a custom build of dojo in order to take advantage of layers (http://docs.dojocampus.org/build/index) and reduce the large number of single js files requests.
Since my application use also other dojo widgets the first time the browser opens it is very slow (I see in Firebug and Fiddler that the problem is due to the sequential load of small files).
How will the custom dojo and the one loaded within the ArcGIS API live together?
Which is the correct order to write <script> tags in the HTML file to be sure that dojo.require will load js from my custom build path and not from arcgisonline?

Thank you very much,
Davide Cremonesi
Globo srl (BP Italy)

PS the application is visible here http://territorio.comune.bergamo.it/orologis/webgis20/mappa.jsp

Outcomes