Hi,
I am using Mil2525c symbology for drawing military symbols. I am able to draw properly, but how can I select this symbols on mouse click for further actions like delete/modify/move e.t.c. ?
Solved! Go to Solution.
You should be able to do something like the following to select it
Message selectMsg = MessageHelper::createSelectMessage(SymbolDictionaryType::Mil2525C, “message_id”, “position_report", true); selectMsg.setProperty(“_action”, “select”); // set _action property to “select” or “un-select” m_groupLayer->messageProcessor()->processMessage( selectMsg ); // process select message
You should be able to do something like the following to select it
Message selectMsg = MessageHelper::createSelectMessage(SymbolDictionaryType::Mil2525C, “message_id”, “position_report", true); selectMsg.setProperty(“_action”, “select”); // set _action property to “select” or “un-select” m_groupLayer->messageProcessor()->processMessage( selectMsg ); // process select message