Graphic rendering when changing spatial references

Discussion created by KevinSayer on Feb 7, 2017
Latest reply on Apr 25, 2017 by MBranscomb-esristaff

When changing basemaps on the map view to a basemap with a different spatial reference, polygon graphics in a graphics overlay are successfully reprojected but not always drawn corretly. i.e Sometimes the border is missing and when this occurs the grapic no longer seems to update when its selection status is changed. The IsSelected property can be set but the expected highlight doesn't display


Having spent some time investigating this, it seems to be related to the changing spatial reference in combination with Dynamic rendering mode.  If rendering mode is set to static then the problem seems to resolve itself.


I have published a map on ArcGIS online that uses the BNG spatial reference (27700) and created a small applicaiton to demonstrate the problem. (see attached)


The application starts with a web mercator map and pressing the button toggles to the BNG map. There is a single polygon that automatically reprojects and draws just fine when in static rendering mode, but often fails to draw correctly when the rendering mode is set to dynamic.  The rendering mode can easily be changed via the radio buttons.


Are we doing something wrong or is this a bug?