Setting Curb Approach

1825
2
Jump to solution
08-23-2016 02:40 AM
KeithStewart
New Contributor

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

Tags (3)
0 Kudos
1 Solution

Accepted Solutions
nita14
by
Occasional Contributor III

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

View solution in original post

2 Replies
nita14
by
Occasional Contributor III

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

KeithStewart
New Contributor

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!

0 Kudos