mirror of
https://codeberg.org/comaps/comaps
synced 2025-12-20 13:23:59 +00:00
Add "Business is vacant"/'disused' option to editor (#526)
Signed-off-by: map-per <map-per@gmx.de> Co-authored-by: map-per <map-per@gmx.de> Co-committed-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