I am using the "require" script to load layers into a map. I am able to successfully use the "esri/layers/ArcGISDynamicMapServiceLayer" script to load tiled layers but I am wondering how to add these two layers:
Cline/Regions_w_Country_Labels (MapServer)
http://services3.arcgis.com/HVjI8GKrRtjcQ4Ry/arcgis/rest/services/Major_World_Cities/FeatureServer/0
Any guidance is greatly appreciated.
Steve
Solved! Go to Solution.
Steve,
Sorry there was an error in my code it should be
outFields: ["CITY_NAME"]
An array of Strings not a string containing an array.
That was perfect!
Thank you very much for all your help. The project is complete.