#3920 closed defect (fixed)
PHP MapScript opacity property of StyleObj no longer works
Reported by: | iap | Owned by: | aboudreault |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | MapScript-PHP | Version: | 6.0 |
Severity: | normal | Keywords: | |
Cc: | aboudreault |
Description
$styleObj->set('opacity', 25); does not work, in my test case I apply it to a polygon geometry and the opacity does not change (visually on the map); thought echo $styleObj->opacity reports '25'.
This works in 5.6.6. Does not in MapServer version 6.0.0 (Ubuntu 10.04)
OUTPUTFORMAT NAME 'jpeg' DRIVER AGG/JPEG IMAGEMODE RGB EXTENSION "jpg" MIMETYPE "image/jpeg" FORMATOPTION "QUALITY=90" END
Change History (5)
comment:1 by , 13 years ago
comment:2 by , 13 years ago
Yes, If I define my styles from a mapfile it works. Also things like color, size, outlinecolor work, just the opacity property stopped working in 6.0.
Note:
See TracTickets
for help on using tickets.
Does it work if you set the OPACITY in the mapfile directly?