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
Now in some websites i’m using the ACF google map field in the wordpress backend, while in the front end I’m using openstreetmap with leaflet.js (retrieving the coordinates from the google map field)
Currently this plugin allows you to replicate all the features of the standard Google map field. Regarding the todo list, the html-output is not necessary, I write myself the code needed for site templates.
However, my concern is about supporting future versions of ACF, which is why I asked for inclusion in the core
Version 5.2.1 Still broken for me, all field groups displaying on all posts.
For now I’m back to version 5.2.0 that works properly