Ticket #3063 (closed defect: fixed)
Can not remove the TEXT property in the CLASS object
| Reported by: | charlotted | Owned by: | aboudreault |
|---|---|---|---|
| Priority: | normal | Milestone: | 5.2.1 release |
| Component: | MapScript-PHP | Version: | 5.2 |
| Severity: | normal | Keywords: | TEXT property |
| Cc: | dmorissette, assefa |
Description (last modified by dmorissette) (diff)
Here is an example of a CLASS object. The TEXT property overrides the LABELITEM of the layer. Once we have created the TEXT with $oClass->settext("mytext"), we can not remove this text. So that's impossible to use the labelitem after the creation of the TEXT.
CLASS
NAME "departement"
LABEL
ANGLE 0.000000
ANTIALIAS TRUE
FONT "Arial"
MAXSIZE 256
MINSIZE 4
SIZE 8
TYPE TRUETYPE
BUFFER 0
COLOR 0 0 0
FORCE FALSE
MINDISTANCE -1
MINFEATURESIZE -1
OFFSET 1 1
PARTIALS TRUE
POSITION CC
SHADOWCOLOR 0 0 0
SHADOWSIZE 0 0
END
STYLE
ANGLE 360
COLOR 232 246 9
OPACITY 100
SIZE 10
SYMBOL "Carre"
END
TEXT " "
END
Change History
Note: See
TracTickets for help on using
tickets.
