Hello,I want to add layers to my map with JavaScript API. There are some examples in the Resource Center "Creating a custom tiled layer type" title such as; "This function adds the layer to the map."function init() {
var map = new esri.Map("map");
map.addLayer(new my.PortlandTiledMapServiceLayer());
}
But, I want to add my layers from my local drive (C:\), because I want to open my map in a browser without internet access. How can I do this, can you give a sample code?Thanks.