Select to view content in your preferred language

Version 2.7 of the ArcGIS API for JavaScript is out!

1393
9
02-13-2012 11:35 AM
derekswingley1
Deactivated User
Hi Everybody,

2.7 was release today:  http://blogs.esri.com/Dev/blogs/arcgisserver/archive/2012/02/13/ArcGIS-API-for-JavaScript-version-2....

Full list of new features, fixes, doc additions and samples:  http://help.arcgis.com/en/webapi/javascript/arcgis/help/jshelp/whats_new.html

Comments here or are the blog are welcome.
0 Kudos
9 Replies
AxelSchaefer
Emerging Contributor
Nice. Thank you!

However some files are missing in the download archive: Default.ashx, index.jsp, index.php are missing in the jsapi and the jsapicompact folder. I copied the Default.ashx from the 2.6 release.

Also the installation documentation has a small typo: Step 23: "Access the [...]: http://<myserver>/arcgis_js_api/library/2.7/arcgis/". Should be http://<myserver>/arcgis_js_api/library/2.7/jsapi/

Best regards,
Axel
0 Kudos
KellyHutchins
Esri Frequent Contributor
Thanks Axxl we are working on getting the download fixed. The missing files (Default.ashx, index.jsp, index.php) haven't changed since 2.6 so your workaround of copying the files from that download is perfect.
0 Kudos
EjayLai
Deactivated User
Thanks Axxl we are working on getting the download fixed. The missing files (Default.ashx, index.jsp, index.php) haven't changed since 2.6 so your workaround of copying the files from that download is perfect.


Hope the code hinting works for Aptana 3.0;
0 Kudos
KellyHutchins
Esri Frequent Contributor
Hope the code hinting works for Aptana 3.0;



The download files for version 2.7 have been updated to include the handlers. If you downloaded them prior to 11:20 am on 2/14 you'll need to re-download the zip files.

Harry - No code assist has not been implemented for Aptana 3 yet.
0 Kudos
XieJinghua
Deactivated User
🙂
esri ..... Too lazy
0 Kudos
YohanBienvenue1
Deactivated User
Hi everyone. I am new to ArcGIS API for JavaScript and I just started a project yesterday. For the JavaScript framework I decided to give Dojo a shot instead of jQuery since the API seems to make heavy use of it. I have a question regarding the latest Dojo documentation (1.7) I was looking at, since I'm also new to Dojo. I know this new 2.7 API says it still uses Dojo 1.6.1. So I tried to look up the Dojo API references for 1.6 on the Dojo site but unless I'm mistaken it seems to present 1.7 syntax only regardless of the API number selected. I am wondering if I can use the new 1.7 syntax, is it completely different then 1.6.1?

For example if I check the dijit.layout.BorderContainer reference, the syntax appears different then what I've seen for the Dojo example on the ArcGIS API for JavaScript documentation (for example dojoType v.s. data-dojo-type). Which one should I use/learn?

Thanks
0 Kudos
derekswingley1
Deactivated User
You can still access the 1.6 version of dojo docs: 
http://dojotoolkit.org/documentation/?ver=1.6
http://dojotoolkit.org/api/1.6

For your specific question about dojoType vs. data-dojo-type:  use the latter. The data-* attributes are the html5 style of adding custom attributes to nodes. dojoType will continue to work until dojo 2.0 which is why we haven't made a big effort to move all samples to using data-*.
0 Kudos
YohanBienvenue1
Deactivated User
Thanks Derek for the info. Yes those Dojo links you provided are what I was looking at yesterday, what I realized this morning is that in the Dojo API documentation if you open something in the 1.7 api (say, BorderContainer) then switch to 1.6, it will never display the 1.6 documentation for BorderContainer until you close the previous BorderContainer tab first. This is what confused me, I'll let them know.

Oh, and btw nice HTML5 presentation yesterday. Nice summary of the new features, and useful links you provided.

Thanks
0 Kudos
derekswingley1
Deactivated User

Oh, and btw nice HTML5 presentation yesterday. Nice summary of the new features, and useful links you provided.


Thanks! Glad you found it useful.
0 Kudos