Edit pin (row) only when near to the location

Hi!
I have a table with Latlong column.
I have many pins and I want to allow users only edit rows when user location is close to the location in Latlong. Is it possible? How?