How to Refresh (Redraw) One Layer from many layers?

Dec 17, 2013 at 3:17 PM
Edited Dec 17, 2013 at 4:58 PM
I followed the example "Create random points, then move them around "

Create random points, then move them around

I added mutiple layers like Line layer, points layer , raster , vector.. etc to the project and I want to draw just the Points layer after their coordinates has been updated. I tried ( assumming that my point layer is at [0]) :
 Map.Layers[0].Invalidate();
but it seems that it is updating other layers because I have another point layer that its coordiante are changing but i did not want to update its position but when I run the above code , it is updating the position for all points on different layers.

Thank you !
Dec 23, 2013 at 7:03 PM
Edited Dec 30, 2013 at 2:28 PM
Please Anyone !

I loaded a detailed shape file from Natural Earth for the U.S. I run a timer to update the location of marker . The map slow down dramtically when I zoom all the way out. when i zoom in to the moving marker , thens run better like panning and partial zoming in/out. It looks like the WHOLE map is bein updated and not just the marker layer. Hwo can I update my marker layer without updating all other layers including the shape file layer !

Thank you so much.