Today we released version 3.11 of the ArcGIS API for JavaScript. The optimizer has been updated to support the latest version, and the API & SDK is also available for download. Note that the downloads have moved to a new place.
Read the blog at http://blogs.esri.com/esri/arcgis/2014/10/06/arcgis-api-for-javascript-version-3-11-released/ .
Or for the complete details, read the Whats New at https://developers.arcgis.com/javascript/jshelp/whats_new.html.
For those of you not usually reading any of the above, please read at least the first item, that says:
"This is important if you’re upgrading from earlier versions!
To update your code for version 3.11 references, replace the following URLs:
change /3.10/js/dojo/
to /3.11/
(note the dropped “/js/dojo”) and change /3.10/js/esri/
to /3.11/esri/
(note the dropped “/js”).
"
An example of this is shown below
<link rel="stylesheet" href="http://js.arcgis.com/3.11/dijit/themes/claro/claro.css">
<link rel="stylesheet" href="http://js.arcgis.com/3.11/esri/css/esri.css">
Unfortunately its an internal app, I created a new post a little while ago here Measure Widget Issue - ArcGIS Javascript API 3.11 - Geographic Information Systems Stack Exchange
I also created a new ESRI thread https://community.esri.com/thread/114632?sr=inbox
Jeremy,
Did you update your apps paths to the css and requires?
This is important if you’re upgrading from earlier versions!
To update your code for version 3.11 references, replace the following URLs:
change
/3.10/js/dojo/
to/3.11/
(note the dropped “/js/dojo”) and change/3.10/js/esri/
to/3.11/esri/
(note the dropped “/js”).
Hi Robert
I did update the CSS and requires. All other widgets whether ESRI created or custom are working. Only the Measure widget is having issues.
When I look into the source the button portion of the Measure Widget is not being parsed.
<div dojotype="dijit.layout.ContentPane" dojoattachpoint="buttonPane" class="dijitContentPane esriMeasurementButtonPane" id="dijit_layout_ContentPane_0" widgetid="dijit_layout_ContentPane_0"></div>
I ran into some general css issues when moving up to 3.11 and they were all related to differences in the 'claro' theme in dojo 1.10.0
Anything specific you wouldn't mind sharing?
For one of my apps which is based on the application boilerplate template, I had to make these two adjustments:
.claro .dijitSplitContainer-child, .claro .dijitBorderContainer-child {
border : none;
}
.claro .dijitSplitContainer-dijitContentPane, .claro .dijitBorderContainer-dijitContentPane {
background-color : transparent;
}
After upgrading API to 3.11 (or newest) i cant load my application using proxy:
"{error: {code: Forbidden,message:"Application is being used for an unsupported service... URL"
status:403
require([
"esri/geometry/Extent", "esri/map", "esri/layers/ArcGISTiledMapServiceLayer"
], function(
Extent, Map, ArcGISTiledMapServiceLayer
) {esri.config.defaults.io.proxyUrl = "proxy.ashx";
esriConfig.defaults.io.alwaysUseProxy = true;
var initExtent = new esri.geometry.Extent(xxx, xxx, xxx, xxx, new esri.SpatialReference({wkid: xxx}));
map = new esri.Map("map",{extent:initExtent});
var basemap = new esri.layers.ArcGISTiledMapServiceLayer("URL");
map.addLayer(basemap);
});
How to work around?
Raimonds,
That error message does not seem like it would have anything to do the API version you are using unless you are switching protocols (i.e. http to https or vice versa in your urls).