Select to view content in your preferred language

download the ArcGIS api

736
4
07-10-2012 07:20 AM
NigelAlford
Occasional Contributor
is it possible to download the ArcGIS api? I need to see how a function is happening. Or if someone can help. I am combining the legend and the checkbox. the problem is that they are created seperately and I can't seem to load the legend inside the checkbox. The goal here is make a legend with the checkbox next to it.
0 Kudos
4 Replies
KeithSandell
Regular Contributor
Assuming you are talking about downloading the "Javascript" ArcGIS API, you can find instructions for that in the API documentation:

http://help.arcgis.com/EN/webapi/javascript/arcgis/help/jshelp_start.htm > Concepts > Getting Started > Get the ArcGIS API for Javascript

But if you are looking to dissect it you may find it difficult since the code is obfuscated.
0 Kudos
JeffPace
MVP Alum
Assuming you are talking about downloading the "Javascript" ArcGIS API, you can find instructions for that in the API documentation:

http://help.arcgis.com/EN/webapi/javascript/arcgis/help/jshelp_start.htm > Concepts > Getting Started > Get the ArcGIS API for Javascript

But if you are looking to dissect it you may find it difficult since the code is obfuscated.


I have had to look at the api once or twice just to see what the hidden functions were or what variables are being passed, but it you want to see how a function works, you are right, no way to see it.
0 Kudos
ReneRubalcava
Esri Frequent Contributor
If you use Chrome, you can prettify the JS files that get downloaded with the developer tools to view the code in a readable manner. Some vars are still obfuscated, but it's not too difficult to figure out what's what. I've done this to pull some data out of a couple of dijits.
0 Kudos
NigelAlford
Occasional Contributor
Great. Yes I want to dissect how a few functions take place. I'll keep sifting through and just start building some side libraries. I've had the same problem with the Silverlight API...ESRI provides a good start but I end up having to create some seperate functionality.
Thanks for the heads up everyone this gives me the nudge I needed.
0 Kudos