1
Vote

Point Symbology possible error

description

Have some problems with diffined symbology for a point layer, have attached a project which reproduces the error. after pressing button1, on mouse click within the mapcontrol should add a point to one layer in the centre of the grid and turn the grid cell grey.
First click adds the point but does not turn grid cell grey.
Second click behaves as intended.
Third click give error in MapPointLayer.DrawFeatures.
I have to admit not to sure if I've put this together correctly, or if I've crossed wires some where.
Been having plenty of problems refreshing with the correct symbology within the mapcontrol after adding features.
Feeling very clumsy using DotSpatial, so I'm sure I'm missing some concept.
Thanks for any help.
Did want to place this under the discussion section but could not attach a file.

file attachments

comments