Here is a complete example for a list of farm houses, I include the map both in the single post (one marker) and in the archive page with all the properties (multiple markers), it’s a simple port of what I used with google map.
In the html code you need a div with id “acf-map” and the appropriate css style.
Here is the Javascript part (required leaflet.js)
this is the php part of wordpress