Add a name to CustomLayer LayerTypeInfo
This to prevent confusion and enable proper error logging when registering layers with missing name in LayerTypeInfo where the name should instead be present.
This commit is contained in:
@@ -7,7 +7,7 @@ namespace mbgl {
|
||||
namespace style {
|
||||
|
||||
namespace {
|
||||
const LayerTypeInfo typeInfoCustom{"",
|
||||
const LayerTypeInfo typeInfoCustom{"custom",
|
||||
LayerTypeInfo::Source::NotRequired,
|
||||
LayerTypeInfo::Pass3D::NotRequired,
|
||||
LayerTypeInfo::Layout::NotRequired,
|
||||
|
||||
Reference in New Issue
Block a user