url = "blablabl/cgi-wms/mapserv?map=patate&randomnumber" + mt_rand() + "&";
layer->set("connection",url)
and everything is good
2011/5/19 Marc-André Trottier
> i'm using MapScript to create un mapObj.
> finally a draw the image with Map->draw();
>
> but the OPACITY is not good. Just one OPA
i'm using MapScript to create un mapObj.
finally a draw the image with Map->draw();
but the OPACITY is not good. Just one OPACITY, of my two layers, is set to
all image
i got this for my Outputformat :
OUTPUTFORMAT
NAME "aggpng24"
MIMETYPE "image/png; mode=24bit"
DRIVER "AGG/PNG"
Opacity is set as a single integer between 0 and 100 on the layer level.
There are no limitations on setting it on multiple layers, but in that
case the opacity adds up, so if you have two layers with opacity 50,
the final opacity of the image ends up being 75.
If your final images end up with no
hi!
how can i get a output with opacity on 2 or more layers.
with only 1 layer it's working fine but not with 2 or more.
How should be written OPACITY when using IMAGEMODE RGBA ? (ALPHA)
i tried something like OPACITY 22,22,22,22 but looks bad
in all my tests, all i got was my 2 layers with full