[core] Create Standalone Note core

Signed-off-by: hemanggs <hemangmanhas@gmail.com>
This commit is contained in:
hemanggs
2025-05-21 19:33:50 +05:30
committed by Konstantin Pastbin
parent 1c8ac1f32a
commit 9e494ed8a5
5 changed files with 18 additions and 0 deletions

View File

@@ -1184,6 +1184,12 @@ void Editor::CreateNote(ms::LatLon const & latLon, FeatureID const & fid,
m_notes->CreateNote(latLon, sstr.str());
}
void Editor::CreateStandaloneNote(ms::LatLon const & latLon, std::string const & noteText)
{
CHECK_THREAD_CHECKER(MainThreadChecker,(""));
m_notes->CreateNote(latLon, noteText + "\n");
}
void Editor::MarkFeatureWithStatus(FeaturesContainer & editableFeatures, FeatureID const & fid,
FeatureStatus status)
{