I would like to add a layer (stored with arcgis server on localhost -as you can see with the url) on my map (and this SHOULD be quite simple).
can someone tell me why this simple script isn't working? (it loads the topo basemap, ok, but NO LAYER)
var map = new Map("map",
center: [0.694357, 47.395560],
var rivers = new esri.layers.FeatureLayer("http://localhost:6080/arcgis/rest/services/CARTAGES/Lineaire_Hydro_Loire_Bretagne/MapServer");
thanx a lot in advance