Any other clue?
<link rel="stylesheet" href="http://serverapi.arcgisonline.com/jsapi/arcgis/3.3/js/esri/css/esri.css">
dojo.require("esri.map"); dojo.require("esri.tasks.query"); dojo.require("esri.tasks.identify"); dojo.addOnLoad(Init);
require(["esri/map", "esri/tasks/query", "esri/tasks/querytask", "esri/tasks/identify"], Init());
I'd start with the Migrating to 3.x documentation to see some of the major changes.
The main one is that version 3.x requires your application to be served via a web server, rather than being located on disk.eg, you should be accessing it via http://localhost/xyz rather than file://c:\temp\xyz
Les membres connectés peuvent publier, suivre les mises à jour, et plus encore. Nouveau ici ? Inscrivez-vous gratuitement.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.