The JMap layer id
the initial transparency value
Error if layer is not found or not a raster layer
// Make raster layer id=3 transparent
JMap.Map.setRasterLayerTransparency(10, 1)
// Reset to its initial opacity
JMap.Map.resetRasterLayerTransparency(3)
JMap.Map.resetRasterLayerTransparency
Resets the raster layer transparency to its initial value as defined on the server