[mapserver-users] php mapscript set opacity

Sven Schroeter schroeter at netgis.de
Fri Dec 8 00:20:01 PST 2017


Hi,

I'm trying to transfer old code from Mapserver  6 to Mapserver 7 and fail to
set the transparency via PHP Mapscript.


my code:
$this_layer->set('opacity', 80);   Works with MS 6, not in MS 7 (the layer
is not displayed here)

$this_layer->set('opacity', 100); Works with MS 6 and MS 7

I have read the Migration guide, but I don't know what to do with it in this
case.

Thanks
Sven




More information about the MapServer-users mailing list