Restore support for #layers=X with no map parameter

https://trac.openstreetmap.org/ticket/5056