Ticket #1357 (closed feature: fixed)
Z-indexing/Y-ordering Patch
| Reported by: | tcoulter | Owned by: | euzuro |
|---|---|---|---|
| Priority: | critical | Milestone: | 2.7 Release |
| Component: | Layer.Vector | Version: | 2.5 |
| Keywords: | Cc: | ||
| State: | Complete |
Description
Attached is a patch for z-indexing/y-ordering for external graphics.
For an example of how to use z-indexing, see here:
Notice the "graphicZIndex" attribute attached to a feature's style. For this example, there's also a backgroundGraphicZIndex attribute; this is not included in this patch, and is instead an application specific variable.
To set a vector layer to use y-ordering in addition to z-indexing, pass the option {ordering: "y"} to the Vector layer. Example here:
Attachments
Change History
Note: See
TracTickets for help on using
tickets.

