Google Maps Options

Google maps options in MEC plugin are set for facile integration with this map. Once Modern Event Calendar is integrated with Google Maps it will show your event location on a map. The plugin needs an API key to interact with Google Maps API and fetch your requested map. For activation, check the Settings > Modules > Google Maps Options.

1. Geting the API Key

Follow the steps explained in this article: https://developers.google.com/maps/documentation/javascript/get-api-key/ 

Note 1: You need to enable “Maps JavaScript API” from API Library

Note 2: you can enable more API from Google API Library e.g. Place API, Direction API, Geocoding API, Google Calendar, etc (All in One API)

Note 3: If you want to use the OpenStreetMap, please head over to this link: Advanced Map

Google Maps Options in MEC plugin and Google Map API

Note 4: To use GPS coordinates (latitude and longitude), first you need to enable Google Maps Geocoding API for your API Key. Please go to the following to find Google Maps Geocoding API, and click on the name, then in the new page click on GET A KEY for your API. Also, to add GPS coordinates, please go to  latlong.net | Google Maps APIs

Note 5: For your events you need to enable “Maps JavaScript API” for Google Map (the basic plan  – if you want, you can enable more map API’s )

Also, you can use the Address to find in Google Map (it works just for enabled Google Map API):

2. Zoom level:

You can change the zoom level using this option.

3. Google Maps Style:

Set a style for your map on single event page. You can find these styles by their name on Google.

4. Direction on single event:

There are two different styles for showing your exact location on the map.

Google Maps Options in MEC plugin

5.Lightbox Date Format

6. If you activate Google API on your WordPress plugin or theme by checking this box, MEC will not load API again.

Recommended Posts

6 Comment
Avatar for Doris Cooper
Dguin March 13, 2020
| |

This Google maps doesn't really work in the Lite- free version even after putting the lat long as there is no option of putting the Google maps API. what use of lat long? Isn't it a basic function present in all other free plugin version.  

Avatar for Doris Cooper
Dguin March 13, 2020
| |

The Google Maps module doesn't appear in the Documentation as mentioned everywhere. That is the minimum I believe should be there.   I have used Google login API also in the site. Does it conflict with Google maps API. But that's not happening with other events plugin.   Please help..

Avatar for Doris Cooper
danicotillasgmail.com February 18, 2020
| |

Hi! I have set different locations on an event but then the Event Map Widget doesn´t show up the 3 locations. Is it normal this behaviour? Thanks