Dynamically changing icon

Hi Bruno


I display around a hundred or so markers using my own 'grey' coloured star image as an icon. I then select a marker by clicking on the map and attempt to set the icon to a 'red' coloured star in the onclickmarker event to indicate its selected. The icon stays the same colour so I must be missing something - do I have to reset all the markers to change the colour of one? 

Bruce.

PS great component by the way!


Can you try to call

WebGMaps.MapPanBy(0,0)
after updating the marker?

Hi Bruno


That has no effect - it must change the path in the list but not redraw the map.

Is the only way round this to delete the selected marker and then add it again to the list?

Bruce.