Registers a custom layer type so it can be used with map.addLayer() and, once the type itself is recognized elsewhere in the build chain, with eurostatmap.map(type).
Unique layer type identifier
'base' (paints shared region geometry, at most one per map) or 'overlay'
Function that attaches the layer's fluent API/behavior onto a created Layer
Registers a custom layer type so it can be used with map.addLayer() and, once the type itself is recognized elsewhere in the build chain, with eurostatmap.map(type).