Hi

I'm trying to migrate from 4.8.6 to 5.0.2 and have a query regarding
Mapscript constants.

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 (and I'm not a Java developer by any
means) 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.
Do I need to build my own constants?

MTIA

Rob
_______________________________________________
mapserver-users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/mapserver-users

Reply via email to