added method to set minimum distance based on lat/long