Fix mapToBounds signature and arguments.