So yea, one can always use the Google, Bing or ESRI ArcGIS Online for your web mapping base layer, but lets be honest… You really want to use OpenStreetMap. Well there is now a code example on the ESRI JSAPI Resource Center using Cloudmade with JSAPI. Once can easily take the code and modify it to read in the OSM tiles directly into your JSAPI map. I used OpenLayers with OSM and ESRI ArcGIS Server in the past, but if you don’t or can’t use OpenLayers, you can take advantage of the OSM project now inside ESRI’s API.
Let’s get it on!