Generate Hidden Leaflet Markers

Hi folks.

I’m currently implementing OSM using Leaflet, which is 100% JavaScript. I generate markers automatically, then post with the HTML, and I’m thinking I need a way of hiding my markers somehow.

Is there a way of hiding markers sent to the map? I have all the data, so getting them to the engine while hidden is what I would like to do. This is not a manual process.


I recommend asking that better via the channels of

where you have links to twitter, github or stackoverflow.

OK, thank you. I wasn’t sure if it was encapsulated here or not.