Home › Forums › Backend Issues (wp-admin) › Add multiple markers on Gmap field in admin screen › Reply To: Add multiple markers on Gmap field in admin screen
Found acf.fields.google_map
in ACF js files, turns out map object is stored in this variable and you can do whatever you want with it (add markers on admin screen etc).
Still can’t figure out how to load my custom JS on admin screen AFTER variable acf.fields.google_map
is created (other than setting timeout).
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users
Helping others is a great way to earn karma, gain badges and help ACF development!
We use cookies to offer you a better browsing experience, analyze site traffic and personalize content. Read about how we use cookies and how you can control them in our Privacy Policy. If you continue to use this site, you consent to our use of cookies.