AnsweredAssumed Answered

Not Able to Add a RasterLayer to Map

Question asked by BEHSEINI on Oct 28, 2015
Latest reply on Oct 28, 2015 by dafiter

Can you please take a look at This Demo and let me know why I am not able to add the Raster Layer  Layer: fishing_effort.tif (ID: 53) into the Map?


var map;
function (
Map, ArcGISDynamicMapServiceLayer,
ready, parser,
BorderContainer, ContentPane) {
    ready(function () {
        map = new Map("cpCenter", {
            basemap: "topo",
            center: [-9.113077, 0.759423],
            zoom: 2
        var layer = new ArcGISDynamicMapServiceLayer("")

as you can see from the console I am getting 400 (Bad Request) error message but the layer is for sure at This Url