implemented the map locator