Layer naming updates

This commit is contained in:
Dan Paulat 2023-11-03 05:42:32 -05:00
parent 44ada2cc8d
commit 7e2fd7c109
2 changed files with 2 additions and 2 deletions

View file

@ -973,7 +973,7 @@ void MapWidgetImpl::AddPlacefileLayer(const std::string& placefileName,
std::string
MapWidgetImpl::GetPlacefileLayerName(const std::string& placefileName)
{
return fmt::format("placefile-{}", placefileName);
return types::GetLayerName(types::LayerType::Placefile, placefileName);
}
void MapWidgetImpl::AddLayer(const std::string& id,