I am using several custom styles in my project primarily so that I can draw my own symbology. I am using a custom PointStyle to render my point symbols; but, it is using either Canvas.DrawArea or Canvas.DrawLine depending on whether the symbol is a closed shape or not. I also have a custom TextStyle to draw rotated text, and a custom line style to draw lines in specific widths and colors (by feature record not feature type or layer). This is working fine most of the time. I am also using almost unlimited zooming so that I can see details in my maps.
I have noticed that when I am zoomed in very close, a point of a polygon symbol can fall outside the map window and the entire symbol disappears. Any ideas of a cause or solution?
Although I am using four different styles, I am really running through the features on each layer in each style. Performance is becoming a problem. Would it help performance to merge the four style into one set of code so that I only loop through the features of each layer once per rendering?
I should also mention that I am using a custom MsSql2008FeatureLayer.
Charles