mirror of
https://codeberg.org/comaps/comaps
synced 2025-12-21 13:53:37 +00:00
[core] Create Standalone Note core
Signed-off-by: hemanggs <hemangmanhas@gmail.com>
This commit is contained in:
committed by
Konstantin Pastbin
parent
1c8ac1f32a
commit
9e494ed8a5
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user