Hello,
I am using the ArcGIS API for JavaScript to develop a web application that will support routing for buses. These buses must approach every stop on their routes on the right side of the vehicle. How can I dictate the approach curb with the ArcGIS API for JavaScript?
Thanks,
Keith
Solved! Go to Solution.
Yes, you can. Just add a stop with specific attribute name and value i.e. CurbApproach 1
More info on: ArcGIS REST API
Hope this helps,
Adam
Yes, you can. Just add a stop with specific attribute name and value i.e. CurbApproach 1
More info on: ArcGIS REST API
Hope this helps,
Adam
This worked well, Nicinski! Below is how I added the CurbApproach attribute to the stop creation:
      var stop = new Graphic({
        geometry: point,
        symbol: stopSymbol,
        attributes: {
          "CurbApproach": 1
        }
      });Thanks for your help!
