ArcGISTiledMapServiceLayer problem?

Discussion created by akpaga on May 24, 2012
Latest reply on May 25, 2012 by akpaga
Hi friends
I am using the below link for one my project

But at this line   var tiledLayer = new esri.layers.ArcGISTiledMapServiceLayer("http://myservice.com/ArcGIS/rest/services/World_Street_Map/MapServer");

I am not able to see my map but when i change the code line to Dynamic Map service layer,it shows up but i lose the notes icon...

var tiledLayer = new esri.layers.ArcGISDynamicMapServiceLayer("http://myservice.com/ArcGIS/rest/services/World_Street_Map/MapServer");

What can be possibly wrong..Please shed some light..thank you