Ticket #3650 (new bug)
Custom id on layer skip some initialization
| Reported by: | gnafu | Owned by: | euzuro |
|---|---|---|---|
| Priority: | minor | Milestone: | 2.13 Release |
| Component: | Layer | Version: | 2.11 |
| Keywords: | id layer wms | Cc: | |
| State: | Review |
Description
Setting layer id for a WMS layer causes an error. Issue detected 1 year ago, never resolved. http://comments.gmane.org/gmane.comp.gis.openlayers.user/16912
If the id is passed when creating the layer the code skip the this.events initialization.
Maybe it's a simple typo, a closed brace at the wrong line. Patch attached.
Attachments
Change History
Note: See
TracTickets for help on using
tickets.

