Georepublic/leaflet-wfs — pull request #1 by stuporglue (2013-01-18 15:21:45+00:00)
Title: Fixed minor issue where only 1/2 of markers were removed at a time

Hello,

This is a fix for an issue where the for-loop counter was being incremented while the array was being spliced at the same time. The result was that only 1/2 of the markers were being removed during the for-loop.

Thanks for sharing this code!

Michael