The provider a DETACHED layer resolves against — one built without a mounted app, so there is no
config.provider to read (a unit test's stub, or a Layer constructed directly). NOT a config
default: mount() requires an explicit provider and throws config-invalid without one, so
this is never what a real mounted map uses. leaflet because it is the credential-free one.
The provider a DETACHED layer resolves against — one built without a mounted app, so there is no
config.providerto read (a unit test's stub, or a Layer constructed directly). NOT a config default:mount()requires an explicitproviderand throwsconfig-invalidwithout one, so this is never what a real mounted map uses.leafletbecause it is the credential-free one.