Fix for map point clicks throwing exceptions on project index page
Fixed broken map tool caused by missing function definition