Is there anyone can teach me how to get the pgrouting's source and target parameters in openlayers 2/3? I plan to get those parameters by click the OSM map layer. Currently, I can only get the lonlat x and y values, but my this is not exactly what I need.
For those willing to help, thank you in advanced.