OpenLayers OpenLayers

Ticket #475 (closed bug: fixed)

Opened 2 years ago

Last modified 2 years ago

removeMarker does not work in Boxes Layer

Reported by: euzuro Assigned to: 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 (0.7 kB) - added by euzuro on 01/23/07 11:36:20.
this patch adds a removeMarker() function to the boxes layer that works correctly

Change History

01/23/07 11:36:20 changed by euzuro

  • attachment removeBox.patch added.

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

01/31/07 06:00:57 changed by crschmidt

  • keywords set to commit.

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

03/05/07 01:03:39 changed by crschmidt

  • keywords deleted.
  • status changed from new to closed.
  • resolution set to fixed.

Resolved with r2302. Thanks, Erik.