Skip to content

Latest commit

 

History

History
7 lines (4 loc) · 779 Bytes

File metadata and controls

7 lines (4 loc) · 779 Bytes

ACF-toggleable-marker-infowindows

This code builds on the code provided by the ACF documentation. This will be very useful especially for maps that have multiple markers and toggling between the popup windows causes information to overlap. The js file will also show you how to trigger the popups without needing to click on the map itself and show you how to add a custom icon to the map.

Example of code in action can be found on Codepen View Pen

I also wrote a Medium Post about editing the script and go through in detail about all the changes made.