ACF Google Maps
With ACF Google Maps widget you can create an interactive map interface that uses:
- ACF Google Map field
In this case, you must select ACF Map Field as your Data Type and choose the name of your field.
Use the value set in the current post. If set in a template, the value will be dynamic and variable based on the post used by the template.
- A static address
In this case, you must select Address as Data Type and insert the address.
In this case, you must select Latitude Longitude as Data Type and insert the values in Decimal degrees.
If you want to get the coordinates of a place on your computer, open Google Maps. If you're using Maps in Lite mode, you will see a lightning bolt at the bottom and you won't be able to get the coordinates of a place. Right-click the place or area on the map. Select What's here? At the bottom, you’ll see a card with the coordinates.
- ACF Google Maps - Query
- ACF Google Maps - Markers
- ACF Google Maps - InfoWindows
- ACF Google Maps - Controls
- ACF Google Maps - Style
- There is an additional tab called Settings where you can select a different data source. If you'd like to view a different map instead of the current one, you can edit it by enabling this option and selecting it from Other sources. This is useful when you want a map already defined in another post (for example the contact map also visible in the home) instead of writing it statically you can generate it dynamically and save time.