[mapserver-dev] Problem with label angle since v5.0

tommyr nerkeilenemon at gmail.com
Fri May 23 03:22:49 EDT 2008


In fact I want to get back the value of the angle of the label i mean this :
angle [THIS].
I set a value into it with $oLabelObj->setBinding(MS_LABEL_BINDING_ANGLE,
'THIS'), and then I wan't to get the value of the angle I put to the label.

How can I do this ?

Thank you.

Tommy
 

Steve Lime wrote:
> 
> Hi Tommy: I guess I'm not clear on what you're after. Bindings are
> evaluated on a feature by feature basis
> during rendering so the value for the label will change repeatedly. In
> what context would you want to see
> the angle? 
> 
> Steve
> 
>>>> On 5/22/2008 at 10:42 AM, in message
> <7b2d12b90805220842wb1c7c9dm6d9065040f1d8709 at mail.gmail.com>, "Tommy
> Roughol"
> <nerkeilenemon at gmail.com> wrote:
>> Hello,
>> 
>> I have a problem since the release of Map Server 5. I now set the angle
>> of
>> my LabelObj with $oLabelObj->setBinding(MS_LABEL_BINDING_ANGLE, ...) .
>> Nevertheless, I can't get the value of my LabelObj, because
>> $oLabelObj->angle is a double, with value = 0, and there is no method
>> getBinding(). Is there a way to get the value of the angle string in my
>> label ? A method, a void, or anything else ?
>> 
>> Thank You.
> 
> _______________________________________________
> mapserver-dev mailing list
> mapserver-dev at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapserver-dev
> 
> 

-- 
View this message in context: http://www.nabble.com/Problem-with-label-angle-since-v5.0-tp17407112p17419520.html
Sent from the Mapserver - Dev mailing list archive at Nabble.com.



More information about the mapserver-dev mailing list