{"id":90923,"date":"2021-08-31T12:55:31","date_gmt":"2021-08-31T12:55:31","guid":{"rendered":"https:\/\/www.ait-themes.club\/?p=90923"},"modified":"2024-11-27T08:43:48","modified_gmt":"2024-11-27T07:43:48","slug":"google-maps-api-error","status":"publish","type":"post","link":"https:\/\/www.ait-themes.club\/nl\/google-maps-api-fout\/","title":{"rendered":"Google Maps API-fout"},"content":{"rendered":"<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p>Google Maps wordt tegenwoordig nog maar zelden gebruikt vanwege de kosten die gepaard gaan met meer verkeer. We hebben Google Maps in CitadelaWP behouden voor compatibiliteitsdoeleinden, maar de meeste websites geven nu de voorkeur aan OpenStreetMaps. Houd er rekening mee dat de ondersteuning voor Google Maps in toekomstige updates kan worden verwijderd.<\/p>\n<\/blockquote>\n\n\n\n<p>Op 22 juli kondigde Google enkele belangrijke wijzigingen aan in het gebruik van Google Maps. Alle websites (behalve localhost en websites die voor 22.06.2016 zijn gemaakt) die Google Maps gebruiken, hebben nu een Google Maps API-sleutel nodig. Hier kun je de&nbsp;<a href=\"http:\/\/googlegeodevelopers.blogspot.sk\/2016\/06\/building-for-scale-updates-to-google.html\" target=\"_blank\" rel=\"noreferrer noopener\">volledige verklaring<\/a>&nbsp;door Google.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"How_to_get_my_API_key\"><\/span>Hoe krijg ik mijn API-sleutel?<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p>Een volledige tutorial over het verkrijgen van een API-sleutel wordt hier beschreven in de offici\u00eble documentatie van Google:&nbsp;<a href=\"https:\/\/developers.google.com\/maps\/documentation\/javascript\/get-api-key\" target=\"_blank\" rel=\"noreferrer noopener\">https:\/\/developers.google.com\/maps\/documentation\/javascript\/get-api-key<\/a><\/p>\n\n\n\n<p>In uw,&nbsp;<strong>Google cloudplatform<\/strong>&nbsp;Navigeer naar API's &amp; Services om je Credentials te vinden. De nieuwe API-sleutel kan worden aangemaakt door op de knop \"Credentials aanmaken\" te klikken, de selectie biedt de optie \"API-sleutel\".<\/p>\n\n\n\n<p>We raden je sterk aan om aandacht te besteden aan beperkingen. Je moet je API-sleutel beperken met behulp van HTTP Referrers&nbsp;<strong>alleen<\/strong>&nbsp;voor uw websites die de Google Maps API-sleutel gebruiken. Op deze manier kan niemand anders uw API-sleutel stelen en gebruiken.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter\"><a href=\"https:\/\/www.ait-themes.club\/wp-content\/uploads\/2016\/06\/goole_cloud_platform_credentials.png\"><img decoding=\"async\" src=\"https:\/\/www.ait-themes.club\/wp-content\/uploads\/2016\/06\/goole_cloud_platform_credentials.png\" alt=\"\" class=\"wp-image-72511\"\/><\/a><\/figure>\n<\/div>\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Which_APIs_do_I_need\"><\/span>Welke API's heb ik nodig?<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p>Omdat Google niet duidelijk uitlegt welke API's je moet activeren, volgt hier de lijst met vereiste API's voor alle functies van Google Maps:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Google Maps routebeschrijving<\/li>\n\n\n\n<li>Google Maps afstandsmatrix<\/li>\n\n\n\n<li>Google Maps Hoogte<\/li>\n\n\n\n<li>Google Maps geocodering<\/li>\n\n\n\n<li>Google Maps JavaScript<\/li>\n<\/ul>\n\n\n\n<p>Je moet deze API's inschakelen in het gedeelte Bibliotheek.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Where_to_insert_my_API_key\"><\/span>Waar moet ik mijn API-sleutel invoeren?<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p>Als je inlogt op je WordPress als beheerder, kun je een API-sleutel invoegen in <strong>Citadela Listing &gt; Integraties<\/strong>:<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/www.ait-themes.club\/wp-content\/uploads\/2021\/08\/image-20.png\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"426\" src=\"https:\/\/www.ait-themes.club\/wp-content\/uploads\/2021\/08\/image-20-1024x426.png\" alt=\"\" class=\"wp-image-90925\" srcset=\"https:\/\/www.ait-themes.club\/wp-content\/uploads\/2021\/08\/image-20-1024x426.png 1024w, https:\/\/www.ait-themes.club\/wp-content\/uploads\/2021\/08\/image-20-300x125.png 300w, https:\/\/www.ait-themes.club\/wp-content\/uploads\/2021\/08\/image-20-768x319.png 768w, https:\/\/www.ait-themes.club\/wp-content\/uploads\/2021\/08\/image-20.png 1391w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/a><\/figure>\n\n\n\n<div class=\"wp-block-citadela-blocks-spacer citadela-block-spacer\"><div class=\"inner-holder\" style=\"padding-top:2vw\"><\/div><\/div>\n\n\n\n<div class=\"wp-block-citadela-blocks-custom-container citadela-block-custom-container size-wide bg-type-gradient inside-space-small has-bg has-border-radius\" style=\"background-image:linear-gradient(120deg, rgba(247, 195, 250, 0.65) 0%, rgba(159, 159, 233, 1) 100%);border-radius:10px\"><div class=\"inner-holder\">\n<div class=\"wp-block-columns is-layout-flex wp-container-core-columns-is-layout-9d6595d7 wp-block-columns-is-layout-flex\">\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\">\n<div class=\"wp-block-columns is-layout-flex wp-container-core-columns-is-layout-9d6595d7 wp-block-columns-is-layout-flex\">\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\"><\/div>\n<\/div>\n\n\n\n<figure class=\"wp-block-image alignfull size-full is-style-default\"><img loading=\"lazy\" decoding=\"async\" width=\"400\" height=\"400\" src=\"https:\/\/www.ait-themes.club\/wp-content\/uploads\/2021\/10\/logo-pro-customization-min.png\" alt=\"\" class=\"wp-image-91460\" srcset=\"https:\/\/www.ait-themes.club\/wp-content\/uploads\/2021\/10\/logo-pro-customization-min.png 400w, https:\/\/www.ait-themes.club\/wp-content\/uploads\/2021\/10\/logo-pro-customization-min-300x300.png 300w, https:\/\/www.ait-themes.club\/wp-content\/uploads\/2021\/10\/logo-pro-customization-min-150x150.png 150w\" sizes=\"auto, (max-width: 400px) 100vw, 400px\" \/><\/figure>\n<\/div>\n\n\n\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\" style=\"flex-basis:70%\">\n<div class=\"wp-block-citadela-blocks-spacer citadela-block-spacer\"><div class=\"inner-holder\" style=\"padding-top:2vw\"><\/div><\/div>\n\n\n         <div \r\n            class=\"citadela-block-responsive-text weight-800 align-center\"\r\n                                 >\r\n            <p class=\"inner-tag\" style=\"font-size: 30px; font-weight: 800; line-height: 1.5; color: #392F43;\">Nu beginnen<\/p>         <\/div>\r\n      \n\n\n<div class=\"wp-block-citadela-blocks-spacer citadela-block-spacer\"><div class=\"inner-holder\" style=\"padding-top:10px\"><\/div><\/div>\n\n\n\n<div class=\"wp-block-buttons is-content-justification-center is-layout-flex wp-container-core-buttons-is-layout-16018d1d wp-block-buttons-is-layout-flex\">\n<div class=\"wp-block-button is-style-fill\"><a class=\"wp-block-button__link has-white-color has-vivid-green-cyan-background-color has-text-color has-background has-text-align-center wp-element-button\" href=\"https:\/\/www.ait-themes.club\/nl\/prijzen\/\" style=\"border-radius:3px\">NU KOPEN<\/a><\/div>\n<\/div>\n\n\n\n<div class=\"wp-block-citadela-blocks-spacer citadela-block-spacer\"><div class=\"inner-holder\" style=\"padding-top:1vw\"><\/div><\/div>\n\n\n\n<p class=\"has-text-align-center\" style=\"font-size:16px\">One-time payment. 14-day money-back guarantee.<\/p>\n\n\n\n<div class=\"wp-block-citadela-blocks-spacer citadela-block-spacer negative-height\"><div class=\"inner-holder\" style=\"margin-top:-1vw\"><\/div><\/div>\n<\/div>\n<\/div>\n<\/div><\/div>\n\n\n\n<div class=\"wp-block-citadela-blocks-spacer citadela-block-spacer\"><div class=\"inner-holder\" style=\"padding-top:20px\"><\/div><\/div>\n<div id=\"ez-toc-container\" class=\"ez-toc-v2_0_80 counter-hierarchy ez-toc-counter ez-toc-custom ez-toc-container-direction\">\n<div class=\"ez-toc-title-container\">\n<p class=\"ez-toc-title\" style=\"cursor:inherit\">Inhoudsopgave<\/p>\n<span class=\"ez-toc-title-toggle\"><\/span><\/div>\n<nav><ul class='ez-toc-list ez-toc-list-level-1' ><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-1\" href=\"https:\/\/www.ait-themes.club\/nl\/google-maps-api-fout\/#How_to_get_my_API_key\" >Hoe krijg ik mijn API-sleutel?<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-2\" href=\"https:\/\/www.ait-themes.club\/nl\/google-maps-api-fout\/#Which_APIs_do_I_need\" >Welke API's heb ik nodig?<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-3\" href=\"https:\/\/www.ait-themes.club\/nl\/google-maps-api-fout\/#Where_to_insert_my_API_key\" >Waar moet ik mijn API-sleutel invoeren?<\/a><\/li><\/ul><\/nav><\/div>","protected":false},"excerpt":{"rendered":"<p>Google Maps is rarely used nowadays due to the costs associated with increased traffic. We have retained Google Maps in CitadelaWP for compatibility purposes, but most websites now prefer OpenStreetMaps.\u00a0Please note that Google Maps support may be removed in future updates. 22nd of July Google announced some significant changes in usage of Google Maps. All [&hellip;]<\/p>","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_eb_attr":"","_citadela_custom_class":"","footnotes":""},"categories":[63],"tags":[],"citadela-post-location":[],"class_list":["post-90923","post","type-post","status-publish","format-standard","hentry","category-wordpress-tutorials"],"_links":{"self":[{"href":"https:\/\/www.ait-themes.club\/nl\/wp-json\/wp\/v2\/posts\/90923","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.ait-themes.club\/nl\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.ait-themes.club\/nl\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.ait-themes.club\/nl\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.ait-themes.club\/nl\/wp-json\/wp\/v2\/comments?post=90923"}],"version-history":[{"count":3,"href":"https:\/\/www.ait-themes.club\/nl\/wp-json\/wp\/v2\/posts\/90923\/revisions"}],"predecessor-version":[{"id":96735,"href":"https:\/\/www.ait-themes.club\/nl\/wp-json\/wp\/v2\/posts\/90923\/revisions\/96735"}],"wp:attachment":[{"href":"https:\/\/www.ait-themes.club\/nl\/wp-json\/wp\/v2\/media?parent=90923"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.ait-themes.club\/nl\/wp-json\/wp\/v2\/categories?post=90923"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.ait-themes.club\/nl\/wp-json\/wp\/v2\/tags?post=90923"},{"taxonomy":"citadela-post-location","embeddable":true,"href":"https:\/\/www.ait-themes.club\/nl\/wp-json\/wp\/v2\/citadela-post-location?post=90923"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}