themedes

TextSymbol being rendered incorrectly when passing across International Date Lines

Discussion created by themedes on Apr 27, 2017
Latest reply on Feb 12, 2018 by MBranscomb-esristaff

Hi All,

 

I have noticed an oddity with rendering a TextSymbol whilst it passes across the international Date Line.
I have created a CompositeSymbol, consisting of a SimpleFillSymbol and a TextSymbol, then rendered this to the map across the international date line. To see this in action run the attached application and zoom out to the fullest extent, zoom in and out a few times to get it to render incorrectly. After zooming in and out a few times I noticed that the Symbol is rendered way outside the shape appearing in the middle of the map.

 

Firstly I need to understand why it renders two TextSymbols in GraphicsRenderingMode.Static and only one in GraphicsRenderingMode.Dynamic, and also why its rendered out of bounds sometimes? Bug?

 

I have attached two screenshots outlining the issue, and a sample application to demo the issue. Note there is a button at the top to switch GraphicsRenderingMode to highlight that Dynamic works fine, but Static exhibits the described behaviour. Also you will need to run nuget to get the latest ArcGIS packages to make it compile (adding this in the project makes the Zip file 100+ mb)

 

Any ideas what is going on? Is this a known issue? Any help appreciated. 

 

 

Regards,

 

Dave

Attachments

Outcomes