I have a question about finding the nearest feature from any given point.  I have a map with several featues, and I have a point somewhere on that map that represents my location.  Is there a function I can call that will look at the existing features in the layer and output the marker?  I&#39;m envisioning something like this:<br>
<br>var nearPoint = findClosest(myLoc);<br>var dist = myLoc.distanceTo(nearPoint);<br>alert(dist);<br><br>I guess the way to perform that fake findClosest function is what I&#39;m looking for.  I&#39;d rather not have to measure individual features, because these features are being dynamically added, removed, and modified on a map at any given time.  SO, to simply shuffle through all features at the time of the function call would be GREAT!<br>
<br>Thanks in advance for any help.<br>