OptionalmapOptions: Pick<SimpleMapOptions, "fetch">Creates a new, basic SimpleLayer for testing.
For example:
const layer1 = createTestLayer();
const layer2 = createTestLayer({
title: "My test layer",
olLayer: ...
})
Optionalconfig: SimpleLayerConfigOptionalmapOptions: Pick<SimpleMapOptions, "fetch">
Creates an new layer of the specified type for testing.