Ticket #2146 (closed feature: fixed)
enhance createLiterals to merge context, attributes and data
| Reported by: | pspencer | Owned by: | ahocevar |
|---|---|---|---|
| Priority: | minor | Milestone: | 2.9 Release |
| Component: | Style | Version: | 2.8 RC4 |
| Keywords: | Cc: | ||
| State: | Complete |
Description
Attached is a small patch which modifies the createLiterals method of Style to merge the style context, attributes and data to make it possible to map values in the style from multiple places. The incentive for this patch is to allow specifying some style values to come directly from feature.attributes and others to be computed via a function in the style context.
I've included a modification to the Style test that tests getting values from both context and feature attributes in a single createSymbolizer call.
Attachments
Change History
Note: See
TracTickets for help on using
tickets.

