Opened 21 years ago
Closed 21 years ago
#298 closed defect (worksforme)
point->draw crashes with new styles in map file
Reported by: | Owned by: | assefa | |
---|---|---|---|
Priority: | highest | Milestone: | |
Component: | MapScript-PHP | Version: | 4.0 |
Severity: | normal | Keywords: | |
Cc: |
Description
Function $P->draw($mymap, $mylyr, $img, 0, "abcd"); crashes when using new STYLE syntax in mapfile. With old one it works well. But labels aren't drawn on the map in both cases.
Change History (4)
comment:2 by , 21 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
I tested this and do not get a crash with both types of mapfile(3.6 and 4.0). For the label to appear, you should set the label cache on the layer to off : $oLayer->set("labelcache", MS_OFF); $oPoint->draw($oMap, $oLayer, $oImage, 0, "abcd"); I am closing this bug. If You can still reporduce it, I will test it with your mapfile and data.
comment:3 by , 21 years ago
Resolution: | fixed |
---|---|
Status: | closed → reopened |
Actually, we should not mark the bug fixed since we were not able to reproduce... reopening to mark as WORKSFORME. Stephan, please reopen if you can still reproduce it with the latest MapScript and attach a mapfile and full details to reproduce.
comment:4 by , 21 years ago
Resolution: | → worksforme |
---|---|
Status: | reopened → closed |
Note:
See TracTickets
for help on using tickets.