mirror of
https://codeberg.org/comaps/comaps
synced 2025-12-20 05:13:58 +00:00
[editor] Mark businesse as disused/vacant
Signed-off-by: map-per <map-per@gmx.de>
This commit is contained in:
@@ -3091,6 +3091,13 @@ void Framework::DeleteFeature(FeatureID const & fid)
|
||||
UpdatePlacePageInfoForCurrentSelection();
|
||||
}
|
||||
|
||||
void Framework::MarkPlaceAsDisused(osm::EditableMapObject emo)
|
||||
{
|
||||
emo.MarkAsDisused();
|
||||
osm::Editor::Instance().SaveEditedFeature(emo);
|
||||
UpdatePlacePageInfoForCurrentSelection();
|
||||
}
|
||||
|
||||
osm::NewFeatureCategories Framework::GetEditorCategories() const
|
||||
{
|
||||
return osm::Editor::Instance().GetNewFeatureCategories();
|
||||
|
||||
Reference in New Issue
Block a user