This doesn't occur for all tags. I am using the Mod Resource Map Label Marker which automatically marks resources. When those fields are depleted I remove the tag. For some tags, QMTT gives the following error:
The mod Quick Map Tag Teleport (0.2.4) caused a non-recoverable error.
Please report this error to the mod author.
Error while running event QuickMapTagTeleport::on_chart_tag_removed (ID 157)
LuaCustomChartTag API call when LuaCustomChartTag was invalid.
stack traceback:
[C]: in function 'index'
__QuickMapTagTeleport/wct_utils.lua:110: in function 'find_element_idx_by_position'
QuickMapTagTeleport/scripts/gui/qmtt.lua:207: in function 'remove_chart_tag_at_position'
QuickMapTagTeleport/control.lua:290: in function 'remove_tag_at_position'
QuickMapTagTeleport/scripts/gui/qmtt.lua:136: in function 'handle_chart_tag_removal'
QuickMapTagTeleport/control.lua:216: in function <QuickMapTagTeleport/control.lua:215>