{"id":2581,"date":"2017-03-15T21:54:36","date_gmt":"2017-03-15T20:54:36","guid":{"rendered":"http:\/\/www.cadetill.com\/?p=2581"},"modified":"2017-03-15T21:57:14","modified_gmt":"2017-03-15T20:57:14","slug":"gmlib-and-this-page-didnt-load-google-maps-correctly-error","status":"publish","type":"post","link":"https:\/\/www.cadetill.com\/en\/gmlib-and-this-page-didnt-load-google-maps-correctly-error\/","title":{"rendered":"GMLib and &#8220;This page didn\u2019t load google maps correctly&#8221; error"},"content":{"rendered":"Since a few days ago, GMLib has stopped working correctly by displaying the following error message:<\/p>\n<p>&#8220;Oops! Something went wrong.<br \/>\nThis page didn\u2019t load Google Maps correctly. See the JavaScript console for technical details.&#8221;&nbsp;<!--more--><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter\" src=\"http:\/\/www.cadetill.com\/imagenes\/gallery\/general\/google-maps-oops-something-went-wrong.png\" alt=\"This page didn\u2019t load google maps correctly\" width=\"777\" height=\"300\"><\/p>\n<p>This error was become more recurrently since Google Maps began requiring an API key on June 22, 2016 (after about 10 years of allowing keyless use). And in these last days GMLib has directly stopped working, showing the map only a few seconds.<\/p>\n<p>To solve this problem in GMLib, you must follow this steps:<\/p>\n<ol>\n<li>Download from <a href=\"https:\/\/github.com\/cadetill\/gmlib_v1\" target=\"_blank\">GitHub<\/a> the latest version of sources, that fix a small bug with the API Key assignment.<\/li>\n<li>Create an API API Key. This <a href=\"https:\/\/developers.google.com\/maps\/documentation\/javascript\/get-api-key\" target=\"_blank\">page<\/a> explains the process. It is sufficient to generate an <a href=\"https:\/\/console.developers.goog0le.com\/flows\/enableapi?apiid=maps_backend,geocoding_backend,directions_backend,distance_matrix_backend,elevation_backend,places_backend&amp;reusekey=true\" target=\"_blank\">API Key for the standard API<\/a>.<\/li>\n<li>Obtained the API key, assign it to the TGMMap APIKey property.<\/li>\n<\/ol>\n<p>With this steps you can use again GMLib without problems.","protected":false},"excerpt":{"rendered":"<p>Sorry, this entry is only available in Espa\u00f1ol.<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"ngg_post_thumbnail":0,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":true,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2},"jetpack_post_was_ever_published":false},"categories":[5],"tags":[34],"class_list":["post-2581","post","type-post","status-publish","format-standard","hentry","category-delphi","tag-gmlib","category-5-id","post-seq-1","post-parity-odd","meta-position-corners","fix"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_shortlink":"https:\/\/wp.me\/p13r0p-FD","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/www.cadetill.com\/en\/wp-json\/wp\/v2\/posts\/2581","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.cadetill.com\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.cadetill.com\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.cadetill.com\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.cadetill.com\/en\/wp-json\/wp\/v2\/comments?post=2581"}],"version-history":[{"count":3,"href":"https:\/\/www.cadetill.com\/en\/wp-json\/wp\/v2\/posts\/2581\/revisions"}],"predecessor-version":[{"id":2584,"href":"https:\/\/www.cadetill.com\/en\/wp-json\/wp\/v2\/posts\/2581\/revisions\/2584"}],"wp:attachment":[{"href":"https:\/\/www.cadetill.com\/en\/wp-json\/wp\/v2\/media?parent=2581"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.cadetill.com\/en\/wp-json\/wp\/v2\/categories?post=2581"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.cadetill.com\/en\/wp-json\/wp\/v2\/tags?post=2581"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}