My code generates a local .png file accompanied by a .pgwx world file. I wish to layer it up as either an operationalLayer or a basemap referenceLayer. I am able to generate the layer object using AGSRasterLayer. And I am able to add it to map.operationalLayers. But nothing shows. Debugging shows me it does not inherit the spatial reference of the map. Maybe this is why it isn't showing. How do I set the spatialReference of a new AGSRasterLayer?