Opened 16 years ago
Closed 16 years ago
#2643 closed defect (fixed)
Missing MS_LABEL_BINDING constants for Mapscript JAVA
Reported by: | gisrob | Owned by: | tamas |
---|---|---|---|
Priority: | high | Milestone: | 5.2 release |
Component: | MapScript | Version: | 5.0 |
Severity: | major | Keywords: | |
Cc: |
Description
From my email to the mapserver users mailing list:
Given the change from LABELANGLEITEM to a binding on the Label, I'm struggling to see how this would work in Mapscript/Java.
If I understand it correctly, to replace
LABEL
ANGLE [ATTRIBUTE] ....
END
I need a line like
labelObj.setBinding(MS_LABEL_BINDING_ANGLE, "ATTRIBUTE");
However, there doesnt seem to be anything defining the MS_LABEL_BINDING_ANGLE constant anywhere for me to compile against.
A reply from Tamas Szekeres was:
Hi Rob,
These constants haven`t been exposed to the SWIG interface, however I`m not aware of any compelling reason why not to do so. You can submit a ticket with this problem.
Best regards,
Tamas
Attachments (1)
Change History (3)
by , 16 years ago
Attachment: | mapserver.h.patch added |
---|
comment:1 by , 16 years ago
Component: | MapScript-Java → MapScript |
---|---|
Milestone: | → 5.2 release |
Owner: | changed from | to
Status: | new → assigned |
I`ll take over this
mapserver.h.patch