How to refresh specified point

Aug 20, 2010 at 1:37 AM
Edited Aug 20, 2010 at 1:39 AM

I want to demo alarm situation. When new alarm arrived, the alarm point flicker. But I cannot find a method to refresh single point. I can only find a method to refresh a whole layer, like this:

layerPanel.GetLayerDefinitionById("alarm").UpdateProperty("Selected");



I want to change the style like this:

foreach (VectorLayerData vdata in vectorData[layerID])
            {
                if (vdata.ID == itemID)
                {
                    vdata.style= alarmstyle;
                }
            }

how can i notify the UI to refresh?