I'm trying to add an ECW to the map using:
Dim ecwImageLayer As EcwRasterLayer = New EcwRasterLayer(MapPath("~\002973ARGBX_07.ecw"))
ecwImageLayer.UpperThreshold = Double.MaxValue
ecwImageLayer.LowerThreshold = 0
Dim over As New LayerOverlay("raster", False, TileType.SingleTile)
over.Layers.Add(ecwImageLayer)
Map1.CustomOverlays.Add(over)
But does not work :(
The ECW is in EPSG:27492 and since the Map has a Google maps layer as base is in 900913.
Is not possible to transform rasters in runtime?