I'm trying to make a map using the Javascript API.
I want to use my own basemap, but I can't find the most simple code to do this.
I always see something like this:
function init() {
map = new esri.Map("mapDiv", {
basemap: "satellite",
center: [-97.395, 37.537],
zoom: 11
});
But I don't want to use the ArcGIS online basemaps.
What is the code to make a map service I am hosting my basemap?
Thanks.