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.
1 Answer
You can use a WMS GetFeatureInfo request to query for map feature attributes: