AnsweredAssumed Answered

Sample scripts no longer work since upgrade to v3.0 of the API

Question asked by stevel on Jul 4, 2012
Latest reply on Sep 21, 2012 by DSwingley-esristaff
It looks like a batch process has been run over all of the sample scripts, eg the Hover sample, to upgrade them to use version 3.0 of the JS API.

<link rel="stylesheet" type="text/css" href="http://serverapi.arcgisonline.com/jsapi/arcgis/3.0/js/dojo/dijit/themes/claro/claro.css"> <script type="text/javascript" src="http://serverapi.arcgisonline.com/jsapi/arcgis/?v=3.0"></script>


This means that the samples no longer work when copy/pasting directly from the Esri site into a local file.

[ATTACH=CONFIG]15775[/ATTACH]

If I revert those lines to use 2.8 the sample works fine.

Thanks,
Steve

Outcomes