https://github.com/hurricaneinteractive/acf-toggleable-marker-infowindows
https://github.com/hurricaneinteractive/acf-toggleable-marker-infowindows
Last synced: 9 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/hurricaneinteractive/acf-toggleable-marker-infowindows
- Owner: HurricaneInteractive
- Created: 2017-07-29T05:05:01.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2017-07-29T05:25:43.000Z (almost 9 years ago)
- Last Synced: 2025-06-05T23:42:48.406Z (12 months ago)
- Language: JavaScript
- Size: 4.88 KB
- Stars: 6
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# ACF-toggleable-marker-infowindows
This code builds on the code provided by the [ACF documentation](https://www.advancedcustomfields.com/resources/google-map/). 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](https://codepen.io/aj372/pen/MvKgvz)
I also wrote a [Medium Post](https://medium.com/@hurricane.interactive/acf-multiple-map-markers-with-toggleable-infowindow-popups-efb296d0f529) about editing the script and go through in detail about all the changes made.