Hi Team,
We ran into an issue when changing our Item’s default icon on the Map (not smart map). We followed the example provided here:
https://www.youtube.com/watch?v=gOz_JB5qO0A&list=PL6KbBiYxpwh2Zqtkv-zUBhI8FqLXeT3U1&index=6
By adding the icon file to our resources and setting the item icon in the plugin definition as such on line 11:
_itemNodes.Add(new ItemNode(EAGL_sensorKind,
EAGL_alarmKind,
"Sensor", _treeNodeImage,
"Sensors", _treeNodeImage,
Category.Text, true,
ItemsAllowed.Many,
new EAGL_sensorItemManager(EAGL_sensorKind),
null
)
{
MapIcon = EAGL_alarm.Properties.Resources.sensor_48_46255
}
);
I tried two different icon (ICO) files and both times I got the same result being the default X icon showing on the map instead of my custom icon.
Is there a setting elsewhere that needs to be edited in order to update the map icon?
Thank you,