If your markers contains tags option the plugin filters them by selected tags when popup is closed For example: var map = L.map('map'); var fastMarker = L.marker([50.5, 30.5], { tags: ['fast'] ...