I am Just trying to add in a SID ortho layer but cant seem to get it to work
private void mAddIndividualOrthoLayer01(){if(!Map1.CustomOverlays.Contains(SessionHandler.WebOrtho01Location)){string wMapFileLoct = SessionHandler.WebOrtho01Location;MrSidRasterLayer wilsonOrthoLayer = new MrSidRasterLayer(SessionHandler.WebOrtho01Location);wilsonOrthoLayer.UpperThreshold = double.MaxValue;wilsonOrthoLayer.LowerThreshold = 0;wilsonOrthoLayer.Transparency = 180;Proj4Projection proj4 = new Proj4Projection();int projkey = Convert.ToInt32(SessionHandler.WebProjection);proj4.InternalProjectionParametersString = Proj4Projection.GetEpsgParametersString(projkey);proj4.ExternalProjectionParametersString = Proj4Projection.GetGoogleMapParametersString();proj4.Open();wilsonOrthoLayer.Open();//LayerOverlay ovlOrtho01 = new LayerOverlay(SessionHandler.WebOrtho01Name, true, TileType.SingleTile);//ovlOrtho01.Layers.Add(wilsonOrthoLayer);Map1.StaticOverlay.Layers.Add(wilsonOrthoLayer);}}