Hello, I have some code that seemed to work prior to the upgrade to V12 involving MapView.
I am attempting to add an Overlay like this:
FirstMap = new MapView(); FirstMap.Overlays?.Add(new LayerOverlay()); // Crash here
I am getting a NullReferenceException everytime I try to .add to this list, I crash out with this exception:
Is there something else I need to do now before adding to the Overlays list?