Changed the name of the getCoordinates function to drawMap and the old drawMap to Map