Add maximiseMap() and minimiseMap() functions to the edit page to allow the