stefanocudini / leaflet-search

Search stuff in a Leaflet map
https://opengeo.tech/maps/leaflet-search/
MIT License
780 stars 335 forks source link

Upon adding Marker name property, the markers cannot be hidden by default on the map through the layer #333

Open AntonioA-D-C opened 5 months ago

AntonioA-D-C commented 5 months ago

I have a marker with a name, which is the property the Leaflet Search Control takes, however after that is included, the Markers show up by default

I can still switch the layers on and off, but I wish the markers were off by default.