First, I would recommend starting with a sample that uses the latest version of the API: http://help.arcgis.com/en/webapi/javascript/arcgis/help/jssamples/map_dynamic.htmlNext, it looks like you need a class="tundra" attribute on your body tag. Also make sure you're using the proper layer type for you map service. Is your local service tiled/cached? If it's not, you need to use ArcGISDynamicMapServiceLayer(), not ArcGISTiledMapServiceLayer().
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.