Add ArcGISDynamicMapServiceLayer to Web Map

Discussion created by mvolz47 on Feb 26, 2014
Latest reply on Jul 16, 2014 by bwcoleman18_1
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?