Make `mapToBounds` static.