"esri/map", "esri/layers/FeatureLayer", "esri/dijit/Legend", "esri/digit/Scalebar","esri/dijit/HomeButton", "dojo/_base/array", "dojo/parser", "dijit/layout/BorderContainer", "dijit/layout/ContentPane", "dijit/layout/AccordionContainer", "dojo/domReady!"
I would like to add a dynamic mapservice to the javascript webmap.I tried the following syntax but the mapservice does not show up.var bound = new ArcGISDynamicMapServiceLayer("http://arcgis/ArcGIS/rest/services/MapServices/Bound_D/MapServer", { useMapImage: true });Can anyone tell me what I am doing wrong?
var legendDijit = new Legend({ map: map, layerInfos: layerInfo, respectCurrentMapScale: false }, "legendDiv");
map = new Map("map", { basemap:"streets", center: [-96.509, 38.367], zoom: 14 });
Would this file just need to be added to a server that has IIS in the following location:\\ServerName\c$\inetpub\wwwrootin order to have a simple working web application?
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.