Would you like to copy the permanent link to your clipboard?
Permanent link:
https://help.openstreetmap.org/questions/42910/how-to-hide-my-leaflet-markers-in-all-layers-except-17-and-18-visible-only-there/42958