AnsweredAssumed Answered

Query to Directions Widget Communication

Question asked by clintoncooper on Apr 27, 2015
Latest reply on Apr 29, 2015 by tsellste

I am looking to code a widget (well develop a directions widget) that takes the spatially selected points from a query and finds an optimal route between the points.  I believe using the communications feature between widgets is the way to go (least complicated).  I am pretty new to javascript and am looking for any examples out there that can


1) help me understand how to send data between the query widget and another widget and then

2) how to code the directions widget to accept only that selected data (without the having to input any other points in).


If anything close to this has been built I would love to take a look at it and play around with it, but if not any good guides are close examples of code would work.  Again, I am just learning, so I like to see actual code as that helps me understand which things are doing what.  Thanks in advance!