Change Marker Icon at Runtime
Joined: 02 Jun 2015
Topic: Change Marker Icon at Runtime
Posted: 02 Jun 2015 at 6:25pm
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 ?
Joined: 18 May 2010
|Post Options Quote Reply Posted: 03 Jun 2015 at 10:51am|
I have not been able to reproduce this issue.
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
TMSFMXWebGMaps1.Markers.Add(50, 3, 'Update', 'image2.png', false, true, true, false, false, 0);
|Forum Jump||Forum Permissions
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot delete your posts in this forum
You cannot edit your posts in this forum
You cannot create polls in this forum
You cannot vote in polls in this forum