Hello,
I have a strange problem using MapEllipse objects on a Map (with OpenStreetMap).
I have attached a screenshot. On the left the result on my development pc, the ellipse is perfect. On the right the result on other pc, the ellipse has very low quality.
I have used 3 different pc (1 development and 2 others) but only on the pc with development environment there is the perfect ellipse.
Have you any suggestion?
Thanks a lot
We have closed this ticket because another page addresses its subject:
Improve polygon rendering quality in GdiPlus modeMapEllipse quality
Answers approved by DevExpress Support
Hi Dino,
From what I gather, the DirectX render mode cannot be enabled on the problematic machine. We have acknowledged the GDI+ rendering issue and included the corresponding feature in our To-Do list:
Improve polygons rendering quality in GdiPlus mode.
In the meantime, please clarify whether or not you have installed DirectX on the machine and try to re-install graphics card drivers. Please also check to see if it is possible to resolve this issue using the recommendations from this article.
Hi Dino,
We have registered a separate ticket regarding the incorrect DirectX detection procedure when a videocard does not support the anti-aliasing feature:
DirectX render mode is not enabled if the video card does not support anti-aliasing feature.
However, it appears that the second machine with the integrated videocard does not support hardware acceleration in DirectX mode. Therefore, forcing the DirectX render mode is not appropriate in this situation.
Hi Dino,
Thank you for your report. Use the following code to detect the actual render mode on the problematic machine:
DevExpress.XtraMap.Services.IInnerMapService svc = ((IServiceProvider)mapControl1).GetService(typeof(DevExpress.XtraMap.Services.IInnerMapService)) as DevExpress.XtraMap.Services.IInnerMapService; MessageBox.Show(DevExpress.XtraMap.Native.MapUtils.GetActualRenderMode(svc.Map).ToString());
If the actual mode is set to GdiPlus, try switching to the DirectX render mode (see the MapControl.RenderMode property).
On the map control the render mode was Auto and using your suggestion I see that the actual render mode is DirectX where the ellipse is perfect and GdiPlus where is low quality. I try to change the RenderMode from Auto to DirectX but the actual render mode is always GdiPlus so ellipse isn't perfect.
Thanks a lot