Too se errors in IE8:F12 --> open developer toolsclick con Script and then consoleIn the console you will read the error indicated by bdaigleDavide
Object doesn't support this property or method
gpint = dojo.byId("gpTool");
ddMxd = dijit.byId('ddMxd');
If you're using Aptana, try enabling JSLint validation. It will help you track down a lot of simple issues like that.
map.addLayer(statesLyr); dojo.connect(map,'onLayersAddResult',function(results){ //add the legend var legend = new esri.dijit.Legend({ map:map, layerInfos:legendLayers, },"legendDiv"); legend.startup(); });
Aangemelde leden kunnen berichten plaatsen, updates volgen en meer. Nieuw hier? Registreer een gratis account.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.