Assigned new icons on app start, but cannot change these at runtime.
If marker is deleted and recreated with different icon it is not shown on map.
As in one forum topic shown here BeginUpdate ... EndUpdate did not help.
Any hint ?
Mike
Bart
(Bart)
2
Hi,
I have not been able to reproduce this issue.
Example:
//create marker
TMSFMXWebGMaps1.Markers.Add(50, 3, 'Update', 'image1.png', false, true, true, false, false, 0);
//remove and recreate marker with different image
if TMSFMXWebGMaps1.Markers.Count > 0 then
begin
TMSFMXWebGMaps1.DeleteMapMarker(0);
TMSFMXWebGMaps1.Markers.Add(50, 3, 'Update', 'image2.png', false, true, true, false, false, 0);