FooEvents lets you display maps on your events/products using Google Maps. You can choose from two map embed methods.
Choosing an embed method:

- Přejděte na FooEvents > Nastavení > Integrace > Mapy Google
- Select a Maps Embed Method:
- Iframe – Free and does not require a Google Maps API key – recommended
- JavaScript – Requires a paid Google Maps API key – legacy option; avoid
Method 1: Iframe – recommended
The iframe method is simple, free, and easy to set up. Simply select the iframe method and enter your venue’s GPS coordinates when editing your events (see below).
Method 2: JavaScript – paid legacy option; avoid
The JavaScript method is a legacy option that was available before the iframe method was introduced. It requires that you set up a paid Google Maps API key. It is also more prone to JavaScript conflicts with themes and third-party plugins. For that reason, we recommend using the iframe option, as it is more robust and provides similar functionality.
If you decide to use the JavaScript method, you will need to generate a Google Maps API key. Please follow these instructions:
- You can generate a Klíč Google Maps API by following these instructions: https://developers.google.com/maps/documentation/javascript/get-api-key
- Once you have generated a Klíč Google Maps API, enter it here: FooEvents > Nastavení > Integrace > Klíč Google Maps API
Getting the correct GPS coordinates:
The following applies to both the iframe and JavaScript embed methods.
Přejít na maps.google.com and search for your venue or address. Once you’ve found it, right-click the location, click the coordinates, and copy them to your clipboard. Paste them into the “Souřadnice na mapě Google" při úpravách události v Oblast administrace WordPress.

Formát souřadnic v Mapách Google by měl vypadat takto: -26.13741, 28.00815
V případě potřeby můžete do tohoto formátu převést pomocí následujícího nástroje:
http://www.gps-coordinates.net/gps-coordinates-converter
Setting the correct GPS coordinates:

- Navigate to a product that has events enabled.
- Přejděte dolů na Údaje o produktu tabs.
- Otevřete Nastavení události tab and scroll to the Podrobnosti o místě konání sekce.
- Enter the Souřadnice GPS v Souřadnice na mapě Google pole.
Viewing the Google Map:
Navigate to the product on the front end of your site and scroll to the product tabs:
