Hello,
I am trying to implement the following rest endpoint data:
http://arcgis-central.gis.vt.edu/arcgis/rest/services/vtcampusmap/ParkingSpaces/MapServer
Onto my basemap. I would like to do this through ArcGIS java script. I thought that I was following all the steps correctly that I found on Feature Layer (basic) | ArcGIS API for JavaScript , but it does not want to show up.
I am thinking it could be a problem with the type of layer that I am calling it? For example, it may need to be ArcGISgraphiclayer instead of FeatureLayer or something like that.
Maybe it is something entirely different, but I can't understand why it is not working.
My code is attached.