Ticket #2670 (closed defect: fixed)
MapScript needs a method to retrieve attribute binding settings.
|Reported by:||sdlime||Owned by:||jmckenna|
|Component:||Documentation - MapServer||Version:||svn-trunk (development)|
|Cc:||dmorissette, assefa, aboudreault, jmckenna, havatv|
Description (last modified by dmorissette) (diff)
As it sits if you set a binding programmatically, like so:
or in a map file there is no way to get at the column name. We'd need a getBinding method in MapScript? so you could do something like:
$label->setBinding(MS_LABEL_BINDING_ANGLE, 'myitem'); $item = $label->getBinding(MS_LABEL_BINDING_ANGLE);
Where $item would contain the text 'myitem'.