Ticket #2670 (closed defect: fixed)
MapScript needs a method to retrieve attribute binding settings.
| Reported by: | sdlime | Owned by: | jmckenna |
|---|---|---|---|
| Priority: | normal | Milestone: | 5.6 release |
| Component: | Documentation - MapServer | Version: | svn-trunk (development) |
| Severity: | normal | Keywords: | |
| Cc: | dmorissette, assefa, aboudreault, jmckenna, havatv |
Description (last modified by dmorissette) (diff)
As it sits if you set a binding programmatically, like so:
$label->setBinding(MS_LABEL_BINDING_ANGLE, 'myitem');
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'.
Steve
Attachments
Change History
Note: See
TracTickets for help on using
tickets.

