Versions 1.4 of the ArcGIS JavaScript API and the ArcGIS JavaScript Extension for the Google Maps API have been released. Version 1.4 of the ArcGIS JavaScript Extension for Microsoft Virtual Earth will be available soon. (Update on June 12, 2009: The Virtual Earth extension is now available)
To use the new versions, just update your script reference with “v=1.4″, for example: http://serverapi.arcgisonline.com/jsapi/arcgis/?v=1.4.
New features in the ArcGIS JavaScript API 1.4 include:
- Routing with ArcGIS network analysis services
- Support for Microsoft Virtual Earth maps and geocoding
- Support for multiple graphics layers
- Class breaks and unique value renderers
- Support for Dojo 1.3.1
- Performance improvements in Internet Explorer
- Bug fixes
See What’s New in Version 1.4 of the ArcGIS JavaScript API for a full list of improvements. There’s also a What’s New document for the Google Maps API extension. The principal new feature of the 1.4 ArcGIS JavaScript extensions for the Google Maps API and Virtual Earth is routing with ArcGIS network analysis services.
12 Responses to ArcGIS JavaScript API 1.4 released
Leave a Reply
You must be logged in to post a comment.
Will a downloadable (for intranet development) version be made available?
@pthibault- Yes, check with ESRI Customer Service to learn how to obtain the API on DVD media. It will take a few weeks from now to become available.
Will an update for the Aptana Plugin be made available?
@doncav: very soon.
Awesome! Multiple graphics layers is what I was waiting for.
The ArcGIS JavaScript Extension for Microsoft Virtual Earth is now available at version 1.4: http://resources.esri.com/arcgisserver/apis/javascript/ve/index.cfm?fa=home
Adding an empty graphics layer to the map leads to an uncaught exception: this._gc is undefined
function init() {
var map = new esri.Map(“mapDiv”);
var streets = map.addLayer(
new esri.layers.ArcGISTiledMapServiceLayer(
“http://server.arcgisonline.com/ArcGIS/rest/services/ESRI_StreetMap_World_2D/MapServer”, {id:”streets”}));
// @@@@ EXPLODES HERE @@@@
var gfx = map.addLayer(
new esri.layers.GraphicsLayer());
}
@litmuspaper – The map.onLoad event needs to fire before you can add graphics layers
Looks like there is a bug with the zoom slider that was present in 1.3 and remains in 1.4. (http://forums.esri.com/Thread.asp?c=158&f=2396&t=286142#889033)
When the user drags the handle on the zoomSlider up and down, the map zooms in and out as expected. However, even after the user releases the mouse button, the zoomSlider handle continues to follow the mouse’s up and down motion, causing the map to zoom in and out disruptively.
Is this bug already being tracked? Any known workaround?
OK, I learned that this bug is tracked as NIM042115
and “there is no workaround for this issue at this time. This issue is in the process of being reviewed by our development team.” Bummer.
I’m developing ASP.NET Ajax (ASPX) pages that also uses the JS API on my local EDN box. For some reason the dojo styles are screwed up. I’m importing the stylesheets full URL like the sample codes do, but the regular dijit and dojox grid styles are funky. For example, the zoom slider keeps a non-transparent white box around it (it used to look fine under v.1.2). Are others experiencing the same thing?
James can you provide more details about the situation where you are seeing graphics rendered beneath the map layers.