I am creating polygons on my map, with SimpleMarkerSymbol point symbols at each vertex. When I create them from code (no interactive clicking, etc.), The point symbols sometimes don't display. If I subsequently move the vertex interactively, the symbol shows up. I am doing a repaint of the view after creation. I have tried moving the point, but it doesn't help, dynamically (in code). It is as if it needs to come from a view event (mouse click, etc.) before they will show. However, in one case, when I create them, they work every time. (I have two different paths, one that reads an init file to create saved polygons - that works, and one where I query a database for lines, create a polygon around the line - that doesn't work) Any ideas?
I am creating a PolylineBuilder to collect the points, then creating a PolygonBuilder from its geometry once the user is done. I then create a Graphic with the PolygonBuilder geometry, check its validity, then create a graphic and add it to the Graphics Overlay that is displaying them. I have tried setting the ZIndex, thinking that maybe they were there, but under something, but no success there either.
Rob