Hi
I am working with TMSFNCOpenlayers and adding labels using multiple calls to the AddLabels method. Then, I need to delete one of them. How can i do? We have a ClearLabels, but it delete all of them.
Kind regards,
Diego
Hi
I am working with TMSFNCOpenlayers and adding labels using multiple calls to the AddLabels method. Then, I need to delete one of them. How can i do? We have a ClearLabels, but it delete all of them.
Kind regards,
Diego
Hi,
In TMSFNCMaps you can use Labels.Delete(Index) to remove a specific label by index. However in TMSFNCOpenLayers this collection is currently not accessible. This has been resolved internally and the update will be available with the next TMS FNC Maps release.
Currently available:
TMSFNCMaps1.BeginUpdate;
TMSFNCMaps1.Labels.Delete(0);
TMSFNCMaps1.EndUpdate;
Will become available with the next TMS FNC Maps release:
TMSFNCOpenLayers1.BeginUpdate;
TMSFNCOpenLayers1.Labels.Delete(0);
TMSFNCOpenLayers1.EndUpdate;