Find Closest Point

I have a table of utility poles with each pole having a latlong location. My users can add new poles to this table.
When my user adds a pole, I would like to find an existing pole in the table that is closest to the user at the time when he is adding a new pole. This would need to occur while the pole creation form is open and has not been saved.

Any ideas would be appreciated.

@Steve

Solved Solved
0 2 121
1 ACCEPTED SOLUTION

If I may respond to the post.

While trying to work on an approach for this interesting requirement, first tried to search a sample app having Lat long values that can be modified and tested for the stated requirement.

Incidentally came across a sample app that seems to exactly answer your requirement.

View solution in original post

2 REPLIES 2

If I may respond to the post.

While trying to work on an approach for this interesting requirement, first tried to search a sample app having Lat long values that can be modified and tested for the stated requirement.

Incidentally came across a sample app that seems to exactly answer your requirement.

This works perfectly. Thank you!

Top Labels in this Space