{"id":1896666,"date":"2019-10-18T13:19:49","date_gmt":"2019-10-18T17:19:49","guid":{"rendered":"https:\/\/theeventscalendar.com\/knowledgebase\/troubleshooting-google-maps-2\/"},"modified":"2026-04-10T18:15:44","modified_gmt":"2026-04-10T22:15:44","slug":"troubleshooting-google-maps","status":"publish","type":"post","link":"https:\/\/theeventscalendar.com\/knowledgebase\/troubleshooting-google-maps\/","title":{"rendered":"Troubleshooting Google Maps for The Events Calendar"},"content":{"rendered":"\n<iframe loading=\"lazy\" width=\"560\" height=\"315\" src=\"https:\/\/www.youtube.com\/embed\/mK65n5geCEk\" title=\"YouTube video player\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture\" allowfullscreen=\"\"><\/iframe>\n\n\n\n<p>Is your website unable to load Google Maps or do you see events located in the ocean off the coast of Africa? These are a few of the common Google Maps issues that we see. Here are our steps for troubleshooting Google Maps.<\/p>\n\n\n\n<p>The issue may be that you haven\u2019t hit the \u201cEnable Maps\u201d checkbox on the backend, under <strong>Events \u2192 Settings<\/strong> <strong>\u2192 Display<\/strong> <strong>\u2192  Maps<\/strong>.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"705\" height=\"313\" src=\"https:\/\/images.theeventscalendar.com\/kb\/uploads\/2019\/10\/Maps.png\" alt=\"\" class=\"wp-image-1964492\" style=\"width:864px;height:auto\" srcset=\"https:\/\/images.theeventscalendar.com\/kb\/uploads\/2019\/10\/Maps.png 705w, https:\/\/images.theeventscalendar.com\/kb\/uploads\/2019\/10\/Maps-300x133.png 300w\" sizes=\"auto, (max-width: 705px) 100vw, 705px\" \/><\/figure>\n\n\n\n<p>Once enabled, you\u2019ll have the option to embed Google maps in your frontend event listings.<\/p>\n\n\n\n<p>By default, The Events Calendar will try&nbsp;to add a map to single event views as well as an external link to Google Maps. It&#8217;s possible to disable either or both these things using the settings provided in the events editor. Here&#8217;s what those settings look like:<\/p>\n\n\n\n<figure class=\"wp-block-image alignnone\"><img decoding=\"async\" src=\"https:\/\/images.theeventscalendar.com\/kb\/uploads\/2018\/06\/location.png\" alt=\"Google Maps location\"\/><figcaption class=\"wp-element-caption\">Google Maps settings in Classic Editor<\/figcaption><\/figure>\n\n\n\n<figure class=\"wp-block-image alignnone size-full wp-image-1944106\"><img decoding=\"async\" src=\"\/knowledgebase\/wp-content\/uploads\/2019\/10\/google-maps-settings-in-block-editor.png\" alt=\"\" class=\"wp-image-1944106\"\/><figcaption class=\"wp-element-caption\">Google Maps settings in Block Editor<\/figcaption><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"key\">Add a Google Maps API key<\/h2>\n\n\n\n<p>Before you go any further, please ensure you have followed the steps outlined in our article explaining <a href=\"https:\/\/theeventscalendar.com\/knowledgebase\/k\/setting-up-your-google-maps-api-key\/\">how to add a Google Maps API key<\/a>. A valid key is required for maps to display correctly. Confirm that you&#8217;ve actually entered your full, unedited API key into the correct settings field on the <strong>Events \u2192 Settings \u2192 Integrations<\/strong> screen in WordPress.<\/p>\n\n\n\n<p>Head to your <a href=\"https:\/\/console.cloud.google.com\/google\/maps-apis\/\" target=\"_blank\" rel=\"noopener noreferrer\">Google Cloud Platform Maps API management page<\/a> and select the project that your API key belongs to. Confirm that the <strong>Geocoding API<\/strong>, <strong>Maps JavaScript API<\/strong>, and <strong>Maps Embed API<\/strong> show up in the &#8220;Enabled APIs&#8221; section of the project&#8217;s APIs page (<a href=\"https:\/\/images.theeventscalendar.com\/kb\/uploads\/2021\/09\/Google-Maps-Enabled-APIs.png\" target=\"_blank\" rel=\"noreferrer noopener\">screenshot<\/a>). If any are missing, make a new API key and ensure that the new API key has all 3 APIs enabled for it. If issues persist, contact Google&#8217;s support team by clicking the Support tab in the left-hand sidebar\u2014they should be able to help ensure that both of these free APIs are enabled for your API key.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"venuedata\">Fix Venue Data<\/h2>\n\n\n\n<p>If Events Calendar PRO detects broken or missing venue data, it will let you know via an admin screen notification. This notice will provide a link to a tool, which you can find in the Map Settings section of the <strong>Events \u2192 Settings<\/strong> screen, that can be used to repair your venue data. Look for a button that says \u201cFix venues data.\u201d Please click it, refresh your Map View and see if that makes a difference. Fixing Venue Data is a tool only available if broken data is detected.<\/p>\n\n\n\n<p>You may see a message that looks like this:<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"539\" height=\"47\" src=\"https:\/\/images.theeventscalendar.com\/kb\/uploads\/2022\/12\/venues-geo-data.png\" alt=\"\" class=\"wp-image-1964671\" srcset=\"https:\/\/images.theeventscalendar.com\/kb\/uploads\/2022\/12\/venues-geo-data.png 539w, https:\/\/images.theeventscalendar.com\/kb\/uploads\/2022\/12\/venues-geo-data-300x26.png 300w\" sizes=\"auto, (max-width: 539px) 100vw, 539px\" \/><\/figure>\n\n\n\n<p>Let&#8217;s look at the notice. It says, &#8220;You have venues for which we don&#8217;t have geolocation information. <span style=\"text-decoration: underline;\">Click here to generate it.<\/span>&#8221; <\/p>\n\n\n\n<p>So what is this all about? Well, the geolocation options are only available if you are using Events Calendar Pro and <a href=\"https:\/\/theeventscalendar.com\/knowledgebase\/k\/setting-up-your-google-maps-api-key\/\" target=\"_blank\" rel=\"noreferrer noopener\">your own Google Maps API key<\/a>. What it mainly does is enable <a href=\"https:\/\/theeventscalendar.com\/knowledgebase\/k\/events-calendar-pro-location-search\/\" target=\"_blank\" rel=\"noreferrer noopener\">location search<\/a> and allow for multiple venues to be shown on map views. Setting that up can be a bit tricky, so do read those articles if you haven&#8217;t to be sure you understand the what, why, and how of using your own key.<\/p>\n\n\n\n<h4 class=\"wp-block-heading\" id=\"h-resolving-the-notice\">Resolving the Notice<\/h4>\n\n\n\n<p>OK, so now that we have our key set up, we may still have this notice at the top of the admin screen. What it&#8217;s trying to tell you is that some of your venues do not have the required information (which we get via the Maps API) to come up in location searches and be mapped properly. That sounds kind of important &#8211; so how do we fix it?<\/p>\n\n\n\n<p>The simple answer is &#8220;click the link,&#8221; &#8211; but there is another step, so let&#8217;s walk through it.<\/p>\n\n\n\n<p>Upon clicking the link, you will be redirected to the <strong>Display <\/strong>&gt; <strong>Maps<\/strong> tab (it will be the General tab if you haven&#8217;t updated to TEC 6.0 yet):<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"795\" height=\"554\" src=\"https:\/\/images.theeventscalendar.com\/kb\/uploads\/2022\/12\/fix-geol-data.png\" alt=\"\" class=\"wp-image-1964672\" srcset=\"https:\/\/images.theeventscalendar.com\/kb\/uploads\/2022\/12\/fix-geol-data.png 795w, https:\/\/images.theeventscalendar.com\/kb\/uploads\/2022\/12\/fix-geol-data-300x209.png 300w, https:\/\/images.theeventscalendar.com\/kb\/uploads\/2022\/12\/fix-geol-data-768x535.png 768w\" sizes=\"auto, (max-width: 795px) 100vw, 795px\" \/><\/figure>\n\n\n\n<p>You should be scrolled directly to the Map Settings section of settings. There you&#8217;ll see a button that says &#8220;Fix Venues Data&#8221; &#8211; with a bit of a warning that it can take some time if you have a lot of venues.<\/p>\n\n\n\n<p>Click that button, and a background process will start that will run through your venues, find the ones that are missing the data, and generate it for you. That&#8217;s all there is to it!<\/p>\n\n\n\n<p>If you haven&#8217;t set your API account up correctly, you may get a notice like this: <\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"3228\" height=\"92\" src=\"https:\/\/images.theeventscalendar.com\/kb\/uploads\/2022\/12\/Screen-Shot-2022-12-06-at-14.38.09.png\" alt=\"Error if you haven't set up your API account when fixing geolocation error\" class=\"wp-image-1954680\" srcset=\"https:\/\/images.theeventscalendar.com\/kb\/uploads\/2022\/12\/Screen-Shot-2022-12-06-at-14.38.09.png 3228w, https:\/\/images.theeventscalendar.com\/kb\/uploads\/2022\/12\/Screen-Shot-2022-12-06-at-14.38.09-300x9.png 300w, https:\/\/images.theeventscalendar.com\/kb\/uploads\/2022\/12\/Screen-Shot-2022-12-06-at-14.38.09-1024x29.png 1024w, https:\/\/images.theeventscalendar.com\/kb\/uploads\/2022\/12\/Screen-Shot-2022-12-06-at-14.38.09-768x22.png 768w, https:\/\/images.theeventscalendar.com\/kb\/uploads\/2022\/12\/Screen-Shot-2022-12-06-at-14.38.09-1536x44.png 1536w, https:\/\/images.theeventscalendar.com\/kb\/uploads\/2022\/12\/Screen-Shot-2022-12-06-at-14.38.09-2048x58.png 2048w\" sizes=\"auto, (max-width: 3228px) 100vw, 3228px\" \/><\/figure>\n\n\n\n<p>Just follow the link to Google and correct the issue (in this case, billing wasn&#8217;t set up correctly).<\/p>\n\n\n\n<p>If there is a problem with the address or information related to the venue itself, you may get a notice like this:<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" src=\"https:\/\/images.theeventscalendar.com\/kb\/uploads\/2022\/12\/Screen-Shot-2022-12-06-at-15.03.38.png\" alt=\"Geolocation could not be fixed for a certain venue\" class=\"wp-image-1954681\"\/><\/figure>\n\n\n\n<p> The first link you see will be to the venue that needs to be corrected, and the second will trigger the&#8221;fix venues&#8221; action again once you&#8217;ve adjusted it.<\/p>\n\n\n\n<p>And that&#8217;s it! At this point, you should no longer see the &#8220;You have venues for which we don&#8217;t have geolocation information&#8221; error message.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"coordinates\">Use coordinates<\/h2>\n\n\n\n<p>If the last step worked, great! If not, there&#8217;s another route we can go.<\/p>\n\n\n\n<p>This time, navigate to <strong>Events \u2192 Venues<\/strong>. If you click Edit on one of the venues, there is an option to use latitude and longitude coordinates. Click on that option for each venue. Confirm the coordinates, save the venue, and then see if that makes a difference in the map&#8217;s appearance.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/images.theeventscalendar.com\/kb\/uploads\/2015\/11\/kb-troubleshotting-map-view-coordinates-665x449.jpg\" alt=\"Screenshot of Events editor, Venue information, Use latitude + longitude when showing Google Maps\"\/><\/figure>\n\n\n\n<p><a href=\"https:\/\/support.google.com\/maps\/answer\/18539?co=GENIE.Platform%3DDesktop&amp;hl=en\" rel=\"noopener\">Entering the latitude and longitude<\/a> of the venue allows The Events Calendar to communicate specific coordinates to the Google Maps API when the API is unable to recognize an address on its own.<\/p>\n\n\n\n<p>Note that the &#8220;Use Latitude + Longitude&#8221; item is only available with <strong>Events Calendar PRO<\/strong>.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"mapview\">Troubleshooting Map View<\/h2>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" src=\"\/knowledgebase\/wp-content\/uploads\/2020\/02\/map-view-kb-1024x898.png\" alt=\"\" class=\"wp-image-1946051\"\/><\/figure>\n\n\n\n<p>Map view is one of the advanced views available with Events Calendar Pro. When enabled, a giant map displays by the main calendar and displays upcoming events that have venues assigned to them.<\/p>\n\n\n\n<p>Visualizing events on a map is great, but we see an issue every now and then where the map shows no events and is centered off the coast of Africa. That&#8217;s enough to make anyone wonder what is wrong, so we have a couple of ways to help troubleshoot and resolve the issue.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"mapview\">Map View Displays Off the Coast of Africa<\/h3>\n\n\n\n<p>Events located in the ocean off the coast of Africa are rare, and likely not your desired result. Often this happens if you do not have a venue that Google can recognize, so events get mapped at the default location of latitude-longitude <code>0, 0<\/code>. If you&#8217;re seeing this issue, please refer to the previous tips on fixing venue data or using latitude and longitude coordinates.<\/p>\n\n\n\n<p>If the above steps haven&#8217;t resolved things and you are using a caching plugin, <a href=\"https:\/\/theeventscalendar.com\/knowledgebase\/k\/caching-what-when-and-how\/\">please try clearing your cache<\/a>. Otherwise, there may be a delay before you see the results of any changes that you have made.<\/p>\n\n\n\n<div class=\"wp-block-group\"><div class=\"wp-block-group__inner-container is-layout-constrained wp-block-group-is-layout-constrained\">\n<h2 class=\"wp-block-heading\" id=\"conflicts\">Testing for Conflicts<\/h2>\n\n\n\n<p>If the earlier steps didn&#8217;t resolve the issue for you, the next step is <a href=\"https:\/\/theeventscalendar.com\/knowledgebase\/k\/testing-for-conflicts\/\">Testing for Conflicts<\/a> to determine if another plugin or theme may be contributing to the problem.<\/p>\n\n\n\n<p>It is also worth checking for Javascript errors. See: <a title=\"Using Your Browser to Diagnose JavaScript Errors\" href=\"https:\/\/codex.wordpress.org\/Using_Your_Browser_to_Diagnose_JavaScript_Errors#Step_3:_Diagnosis\">Using Your Browser to Diagnose JavaScript Errors<\/a> for help.<\/p>\n\n\n\n<p>You might notice Google Maps has a Javascript error, such as:<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: plain; gutter: false; title: ; notranslate\" title=\"\">\nYou have included the Google Maps API multiple times on this page. \nThis may cause unexpected errors.\n<\/pre><\/div>\n\n\n<p>You may be able to resolve this by either deactivating the other plugins or themes that are using Google Maps on your site or by dequeuing the Javascript for Google Maps within Events Calendar Pro by adding the following to your child theme&#8217;s functions.php file.<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: php; title: ; notranslate\" title=\"\">\n&lt;?php\n\/**\n * Unregisters the Google Maps API script on Events Calendar PRO.\n *\/\nadd_action( &#039;wp_print_scripts&#039;, &#039;ecp_remove_google_maps_api&#039;, 100 );\n\nfunction ecp_remove_google_maps_api() {\n\twp_deregister_script( &#039;tribe-gmaps&#039; );\n}\n<\/pre><\/div><\/div><\/div>\n\n\n\n<h2 class=\"wp-block-heading\">Wrapping up<\/h2>\n\n\n\n<p>We hope this article has helped you to resolve any problems you might have experienced with our Google Maps integration but, if not, please do <a href=\"https:\/\/support.theeventscalendar.com\/submit_ticket\">hit us up at our help desk<\/a> and we\u2019d be happy to investigate further.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Is your website unable to load Google Maps or do you see events located in the ocean off the coast of Africa? These are a few of the common Google Maps issues that we see. Here are our steps for troubleshooting Google Maps. The issue may be that you haven\u2019t hit the \u201cEnable Maps\u201d checkbox&#8230;<\/p>\n","protected":false},"author":3,"featured_media":1955565,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"_kad_blocks_custom_css":"","_kad_blocks_head_custom_js":"","_kad_blocks_body_custom_js":"","_kad_blocks_footer_custom_js":"","_swpsp_post_exclude":false,"_kad_post_transparent":"","_kad_post_title":"","_kad_post_layout":"","_kad_post_sidebar_id":"","_kad_post_content_style":"","_kad_post_vertical_padding":"","_kad_post_feature":"","_kad_post_feature_position":"","_kad_post_header":false,"_kad_post_footer":false,"ep_exclude_from_search":false,"footnotes":""},"categories":[123,93],"tags":[113,115,42],"stellar-product-taxonomy":[158,161],"class_list":["post-1896666","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-google-maps","category-errors","tag-block-editor","tag-classic-editor","tag-google-maps","stellar-product-taxonomy-events-calendar-pro","stellar-product-taxonomy-the-events-calendar"],"acf":[],"taxonomy_info":{"category":[{"value":123,"label":"Google Maps"},{"value":93,"label":"Troubleshooting"}],"post_tag":[{"value":113,"label":"block editor"},{"value":115,"label":"Classic editor"},{"value":42,"label":"Google Maps"}],"stellar-product-taxonomy":[{"value":158,"label":"Events Calendar Pro"},{"value":161,"label":"The Events Calendar"}]},"featured_image_src_large":["https:\/\/images.theeventscalendar.com\/kb\/uploads\/2023\/02\/social-share-1024x538.png",1024,538,true],"author_info":{"display_name":"Jaime Marchwinski","author_link":"https:\/\/theeventscalendar.com\/knowledgebase\/author\/jaimetri-be\/"},"comment_info":0,"category_info":[{"term_id":123,"name":"Google Maps","slug":"google-maps","term_group":0,"term_taxonomy_id":123,"taxonomy":"category","description":"","parent":61,"count":4,"filter":"raw","term_order":"0","cat_ID":123,"category_count":4,"category_description":"","cat_name":"Google Maps","category_nicename":"google-maps","category_parent":61},{"term_id":93,"name":"Troubleshooting","slug":"errors","term_group":0,"term_taxonomy_id":93,"taxonomy":"category","description":"","parent":0,"count":87,"filter":"raw","term_order":"0","cat_ID":93,"category_count":87,"category_description":"","cat_name":"Troubleshooting","category_nicename":"errors","category_parent":0}],"tag_info":[{"term_id":113,"name":"block editor","slug":"block-editor","term_group":0,"term_taxonomy_id":113,"taxonomy":"post_tag","description":"","parent":27,"count":16,"filter":"raw","term_order":"0"},{"term_id":115,"name":"Classic editor","slug":"classic-editor","term_group":0,"term_taxonomy_id":115,"taxonomy":"post_tag","description":"","parent":27,"count":17,"filter":"raw","term_order":"0"},{"term_id":42,"name":"Google Maps","slug":"google-maps","term_group":0,"term_taxonomy_id":42,"taxonomy":"post_tag","description":"","parent":0,"count":5,"filter":"raw","term_order":"0"}],"_links":{"self":[{"href":"https:\/\/theeventscalendar.com\/knowledgebase\/wp-json\/wp\/v2\/posts\/1896666","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/theeventscalendar.com\/knowledgebase\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/theeventscalendar.com\/knowledgebase\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/theeventscalendar.com\/knowledgebase\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/theeventscalendar.com\/knowledgebase\/wp-json\/wp\/v2\/comments?post=1896666"}],"version-history":[{"count":7,"href":"https:\/\/theeventscalendar.com\/knowledgebase\/wp-json\/wp\/v2\/posts\/1896666\/revisions"}],"predecessor-version":[{"id":1968865,"href":"https:\/\/theeventscalendar.com\/knowledgebase\/wp-json\/wp\/v2\/posts\/1896666\/revisions\/1968865"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/theeventscalendar.com\/knowledgebase\/wp-json\/wp\/v2\/media\/1955565"}],"wp:attachment":[{"href":"https:\/\/theeventscalendar.com\/knowledgebase\/wp-json\/wp\/v2\/media?parent=1896666"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/theeventscalendar.com\/knowledgebase\/wp-json\/wp\/v2\/categories?post=1896666"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/theeventscalendar.com\/knowledgebase\/wp-json\/wp\/v2\/tags?post=1896666"},{"taxonomy":"stellar-product-taxonomy","embeddable":true,"href":"https:\/\/theeventscalendar.com\/knowledgebase\/wp-json\/wp\/v2\/stellar-product-taxonomy?post=1896666"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}