Added edit, delete functions with dynamic maplocator