Esri / arcobjects-sdk-community-samples

This repo contains the source code samples (.Net c#, .Net vb, and C++) that demonstrate the usage of the ArcObject SDK.
Apache License 2.0
125 stars 195 forks source link

DataFrame issues for users that add non projected data first #7

Open topowright-zz opened 6 years ago

topowright-zz commented 6 years ago

Background

When we try to use the graphics container to draw graphics on a map when a unprojected data source has been added first the graphics container does not added the graphics to the data frame.

Full repo steps and history of issue can be found here: https://github.com/Esri/visibility-addin-dotnet/issues/248

csmoore commented 6 years ago

Additional Note: this issue has also been reported as: "BUG-000114828 : ArcMap graphics disappear during on-the-fly re-projection when the map coordinate system changes."

Here are just the SDK repro steps from https://github.com/Esri/visibility-addin-dotnet/issues/248#issuecomment-350102576 :

Build the Graphics Container SDK sample - Net/Framework/CustomUIElements :

  1. Launch ArcMap
  2. Add a local basemap: C:\Program Files (x86)\ArcGIS\Desktop10.6\TemplateData\TemplateData.gdb\World\continent
  3. Change/set the Data Frame coordinate system to Projected | WGS 1984 Web Mercator (aux sphere)
  4. Use the "Dharma Toolbar" from the SDK Custom UI elements sample to draw a line
  5. Line does not draw after being added to GraphicsContainer a. Note: if you draw the line big enough (size of US) you can see a much bigger mis-projected line

image

csmoore commented 5 years ago

This issue seems to be resolved at ArcMap 10.7.1.

This was an issue for us from 10.5.1-10.7.

sindizzy commented 5 years ago

Good news! The BUG-000114828 has been fixed at 10.7.1 https://downloads.esri.com/support/downloads/other_/1071-IssuesAddressedList-06212019.pdf So from my testing it looks like this bug is present from 10.5.0 to 10.7.0 inclusive. After I reported the bug it took 16 months to fix.

csmoore commented 5 years ago

@sindizzy - many thanks for testing+verifying

This issue can be closed (by someone with write access to repo) as resolved at 10.7.1