Opened 15 years ago
Last modified 14 years ago
#2837 assigned defect
Can't override 'bound' values via URL...
Reported by: | sdlime | Owned by: | sdlime |
---|---|---|---|
Priority: | normal | Milestone: | 6.0 release |
Component: | MapServer C Library | Version: | unspecified |
Severity: | normal | Keywords: | |
Cc: |
Description
Although you can change values for properties like label size or angle, you cannot do so if the property is bound to an attribute. Solution is to clear property binding before assigning the new value in this case.
Steve
Change History (3)
comment:1 by , 15 years ago
Status: | new → assigned |
---|
comment:2 by , 15 years ago
Actually, create a msRemoveBinding() function in mapfile.c and use that everywhere... Will fix and then move to SWIG/MapScript and then PHP/MapScript components. No documentation changes necessary.
Steve
comment:3 by , 14 years ago
Milestone: | 5.6 release → 6.0 release |
---|
Note:
See TracTickets
for help on using tickets.
Solution is to do something like:
before processing the property. A simple helper function that takes a attributeBindingObj * and a int would work nicely.
E.g.:
See the removeBinding method in label.i or style.i.
Steve