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:
Gali Nelle
2020-04-16 17:05:35 +03:00
committed by galinelle
parent 9d23917de1
commit ad543e4355

View File

@@ -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,