Select to view content in your preferred language

Custom spatial references in the coordinate system control

2373
10
03-03-2020 02:18 PM
JeffBoyton
Emerging Contributor

The ArcGIS.Desktop.Mapping.Controls.CoordinateSystemsControl which we were advised to use to select coordinate systems allows the user to create a custom coordinate system that they must then add to the map or add to their favorites. If the user adds their custom coordinate system to favorites and selects it, this control does not return it as the SelectedSpatialReference as it should.  If the user reopens this control with favorites already in the list, this control also does not return them nor does the SelectedSpatialReferenceChanged event get triggered when they are selected.  Is this a bug?

0 Kudos
10 Replies
AbelPerez
Frequent Contributor

I have the CoordSysDialog in my project. I think for now I will just use that. One question..since that sample is an add-in itself would it be recommended that I port that Dialog to my own codebase OR just reference the DLL as any other .NET DLL?

0 Kudos