Hi folks,
we are developing a C#/WPF application supporting port operations in Hamburg. We are using a GraphicsLayer to draw depth contour lines (Polyline + SimpleLineSymbol). When displaying around 10 contours containing quite huge numbers of points (30000-130000 per line), the application crashes. Further tests with a simple test application revealed that there are relatively strict limits to the number of points and polylines the SDK can handle.
Lines Points
6 100000
2 200000
3 150000
1 1000000
Up to these limits the SDK runs rather smoothly, but when going beyond the application crashes during startup. Sadly we can simplify the lines only to a certain degree and we would like to keep the rendering on the client to be able to change the line color interactively. Any ideas? Might using a FeatureLayer improve our situation?
Regards,
Joachim
Solved! Go to Solution.
As it seems we found a solution to the problem: Setting the GraphicsLayer's RenderingMode to "static" did the trick. Now it displays much more points without crashing.
As it seems we found a solution to the problem: Setting the GraphicsLayer's RenderingMode to "static" did the trick. Now it displays much more points without crashing.