The move from 1.6 to 1.7 is noteworthy...try using the AMD syntax as shown in the jsfiddle above or show me a jsfiddle which doesn't work and maybe I can fix it: require ( ["esri/map", "esri/layers/wms"], function () { // your code });
<script type="text/javascript" src="http://servicesbeta.esri.com/jsapi/arcgis/2.8"></script>
<script type="text/javascript" src="http://servicesbeta.esri.com/jsapi/arcgis/2.9"></script>
<script type="text/javascript" src="http://servicesbeta.esri.com/jsapi/arcgis/3.0"></script>
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.