Removing unused code of map feature until it is implemented in the future.