Ticket #475 (closed bug: fixed)

Opened 6 years ago

Last modified 6 years ago

removeMarker does not work in Boxes Layer

Reported by: euzuro Owned by: sderle
Priority: major Milestone: 2.4 Release
Component: Layer.Boxes Version: 2.3 RC2
Keywords: Cc:
State:

Description

Because the OL.Marker.Box is quite different from OL.Marker, the OL.Layer.Boxes layer cannot simply inherit OL.Layer.Markers's removeMarker() function.

If you try to call removeMarker() on a boxes layer, it will not raise an error, but it will do nothing.

Therefore, removeMarker() needs to be overridden to work correctly.

Attachments

removeBox.patch Download (0.7 KB) - added by euzuro 6 years ago.
this patch adds a removeMarker() function to the boxes layer that works correctly

Change History

Changed 6 years ago by euzuro

this patch adds a removeMarker() function to the boxes layer that works correctly

Changed 6 years ago by crschmidt

  • keywords commit added

This is okay to commit, but please save until after 2.3.

Changed 6 years ago by crschmidt

  • keywords commit removed
  • status changed from new to closed
  • resolution set to fixed

Resolved with r2302. Thanks, Erik.

Note: See TracTickets for help on using tickets.