How to get a feature that lies closest to a point in openlayers?

المشرف العام

Administrator
طاقم الإدارة
Im trying to perform routing with openlayers, geoserver and mysql. In order to get the start and end points, I need to be able to get a feature of the node layer (which has point features) that lies closest to an arbitrary point I click on the map. Does openlayers provide any functionality for this. If not, kindly suggest any alternative methods for achieving this.



أكثر...
 
أعلى