deleting map center function