Creating multiple pointbase in loop doesn't work without sleep

Sep 2, 2010 at 6:43 PM
Edited Sep 2, 2010 at 7:02 PM

So i try to add pointbase's to a GeometryLayer on the map. If I Thread.Sleep(50) or if I am debugging and breakpoint between adding Pointbase's they all appear, but if I just let it run, I only ever see 1 maybe 2 out of 10. Anyone have an idea on why this might be?

Sep 2, 2010 at 7:02 PM

Disregard, it was a problem with my random x,y generation. The Pointbase's were actually on top of each other. lol Sorry.