{"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\/ru\/google-maps-api-\u043e\u0448\u0438\u0431\u043a\u0430\/","title":{"rendered":"\u041e\u0448\u0438\u0431\u043a\u0430 API \u041a\u0430\u0440\u0442 Google"},"content":{"rendered":"<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p>\u041a\u0430\u0440\u0442\u044b Google \u0432 \u043d\u0430\u0441\u0442\u043e\u044f\u0449\u0435\u0435 \u0432\u0440\u0435\u043c\u044f \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u044e\u0442\u0441\u044f \u0440\u0435\u0434\u043a\u043e \u0438\u0437-\u0437\u0430 \u0440\u0430\u0441\u0445\u043e\u0434\u043e\u0432, \u0441\u0432\u044f\u0437\u0430\u043d\u043d\u044b\u0445 \u0441 \u0443\u0432\u0435\u043b\u0438\u0447\u0435\u043d\u0438\u0435\u043c \u0442\u0440\u0430\u0444\u0438\u043a\u0430. \u041c\u044b \u0441\u043e\u0445\u0440\u0430\u043d\u0438\u043b\u0438 Google Maps \u0432 CitadelaWP \u0432 \u0446\u0435\u043b\u044f\u0445 \u0441\u043e\u0432\u043c\u0435\u0441\u0442\u0438\u043c\u043e\u0441\u0442\u0438, \u043d\u043e \u0431\u043e\u043b\u044c\u0448\u0438\u043d\u0441\u0442\u0432\u043e \u0432\u0435\u0431-\u0441\u0430\u0439\u0442\u043e\u0432 \u0442\u0435\u043f\u0435\u0440\u044c \u043f\u0440\u0435\u0434\u043f\u043e\u0447\u0438\u0442\u0430\u044e\u0442 OpenStreetMaps. \u041e\u0431\u0440\u0430\u0442\u0438\u0442\u0435 \u0432\u043d\u0438\u043c\u0430\u043d\u0438\u0435, \u0447\u0442\u043e \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u043a\u0430 Google Maps \u043c\u043e\u0436\u0435\u0442 \u0431\u044b\u0442\u044c \u0443\u0434\u0430\u043b\u0435\u043d\u0430 \u0432 \u0431\u0443\u0434\u0443\u0449\u0438\u0445 \u043e\u0431\u043d\u043e\u0432\u043b\u0435\u043d\u0438\u044f\u0445.<\/p>\n<\/blockquote>\n\n\n\n<p>22 \u0438\u044e\u043b\u044f Google \u043e\u0431\u044a\u044f\u0432\u0438\u043b \u043e \u0437\u043d\u0430\u0447\u0438\u0442\u0435\u043b\u044c\u043d\u044b\u0445 \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u044f\u0445 \u0432 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u0438 Google Maps. \u0414\u043b\u044f \u0432\u0441\u0435\u0445 \u0432\u0435\u0431-\u0441\u0430\u0439\u0442\u043e\u0432 (\u043a\u0440\u043e\u043c\u0435 localhost \u0438 \u0432\u0435\u0431-\u0441\u0430\u0439\u0442\u043e\u0432, \u0441\u043e\u0437\u0434\u0430\u043d\u043d\u044b\u0445 \u0434\u043e 22.06.2016 \u0433.), \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u044e\u0449\u0438\u0445 Google Maps, \u0442\u0435\u043f\u0435\u0440\u044c \u0442\u0440\u0435\u0431\u0443\u0435\u0442\u0441\u044f \u043a\u043b\u044e\u0447 API Google Maps. \u0417\u0434\u0435\u0441\u044c \u0432\u044b \u043c\u043e\u0436\u0435\u0442\u0435 \u043f\u0440\u043e\u0447\u0438\u0442\u0430\u0442\u044c&nbsp;<a href=\"http:\/\/googlegeodevelopers.blogspot.sk\/2016\/06\/building-for-scale-updates-to-google.html\" target=\"_blank\" rel=\"noreferrer noopener\">\u043f\u043e\u043b\u043d\u043e\u0435 \u0437\u0430\u044f\u0432\u043b\u0435\u043d\u0438\u0435<\/a>&nbsp;\u043e\u0442 Google.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"How_to_get_my_API_key\"><\/span>\u041a\u0430\u043a \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u044c \u043c\u043e\u0439 \u043a\u043b\u044e\u0447 API?<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p>\u041f\u043e\u043b\u043d\u043e\u0435 \u0440\u0443\u043a\u043e\u0432\u043e\u0434\u0441\u0442\u0432\u043e \u043f\u043e \u043f\u043e\u043b\u0443\u0447\u0435\u043d\u0438\u044e \u043a\u043b\u044e\u0447\u0430 API \u043e\u043f\u0438\u0441\u0430\u043d\u043e \u0432 \u043e\u0444\u0438\u0446\u0438\u0430\u043b\u044c\u043d\u043e\u0439 \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u0430\u0446\u0438\u0438 Google \u0437\u0434\u0435\u0441\u044c:&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>\u0412 \u0432\u0430\u0448\u0435\u0439,&nbsp;<strong>\u041e\u0431\u043b\u0430\u0447\u043d\u0430\u044f \u043f\u043b\u0430\u0442\u0444\u043e\u0440\u043c\u0430 Google<\/strong>&nbsp;\u043f\u0435\u0440\u0435\u0439\u0434\u0438\u0442\u0435 \u043a API \u0438 \u0441\u043b\u0443\u0436\u0431\u0430\u043c, \u0447\u0442\u043e\u0431\u044b \u043d\u0430\u0439\u0442\u0438 \u0441\u0432\u043e\u0438 \u0443\u0447\u0435\u0442\u043d\u044b\u0435 \u0434\u0430\u043d\u043d\u044b\u0435. \u041d\u043e\u0432\u044b\u0439 \u043a\u043b\u044e\u0447 API \u043c\u043e\u0436\u043d\u043e \u0441\u043e\u0437\u0434\u0430\u0442\u044c \u043f\u043e\u0441\u043b\u0435 \u043d\u0430\u0436\u0430\u0442\u0438\u044f \u043d\u0430 \u043a\u043d\u043e\u043f\u043a\u0443 \u00ab\u0421\u043e\u0437\u0434\u0430\u0442\u044c \u0443\u0447\u0435\u0442\u043d\u044b\u0435 \u0434\u0430\u043d\u043d\u044b\u0435\u00bb, \u0432\u044b\u0431\u043e\u0440 \u043f\u0440\u0435\u0434\u043b\u0430\u0433\u0430\u0435\u0442 \u0432\u0430\u043c \u0432\u0430\u0440\u0438\u0430\u043d\u0442 \u00ab\u041a\u043b\u044e\u0447 API\u00bb.<\/p>\n\n\n\n<p>\u041d\u0430\u0441\u0442\u043e\u044f\u0442\u0435\u043b\u044c\u043d\u043e \u0440\u0435\u043a\u043e\u043c\u0435\u043d\u0434\u0443\u0435\u043c \u043e\u0431\u0440\u0430\u0442\u0438\u0442\u044c \u0432\u043d\u0438\u043c\u0430\u043d\u0438\u0435 \u043d\u0430 \u043e\u0433\u0440\u0430\u043d\u0438\u0447\u0435\u043d\u0438\u044f. \u0412\u044b \u0434\u043e\u043b\u0436\u043d\u044b \u043e\u0433\u0440\u0430\u043d\u0438\u0447\u0438\u0442\u044c \u0441\u0432\u043e\u0439 \u043a\u043b\u044e\u0447 API, \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u044f HTTP Referrers&nbsp;<strong>\u0442\u043e\u043b\u044c\u043a\u043e<\/strong>&nbsp;\u0434\u043b\u044f \u0432\u0430\u0448\u0438\u0445 \u0432\u0435\u0431-\u0441\u0430\u0439\u0442\u043e\u0432, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u0431\u0443\u0434\u0443\u0442 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u043a\u043b\u044e\u0447 Google Maps API. \u0422\u0430\u043a\u0438\u043c \u043e\u0431\u0440\u0430\u0437\u043e\u043c, \u043d\u0438\u043a\u0442\u043e \u0434\u0440\u0443\u0433\u043e\u0439 \u043d\u0435 \u0441\u043c\u043e\u0436\u0435\u0442 \u0443\u043a\u0440\u0430\u0441\u0442\u044c \u0438 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u0432\u0430\u0448 \u043a\u043b\u044e\u0447 API.<\/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>\u041a\u0430\u043a\u0438\u0435 API \u043c\u043d\u0435 \u043d\u0443\u0436\u043d\u044b?<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p>\u041f\u043e\u0441\u043a\u043e\u043b\u044c\u043a\u0443 Google \u043d\u0435 \u043e\u0431\u044a\u044f\u0441\u043d\u044f\u0435\u0442 \u0447\u0435\u0442\u043a\u043e, \u043a\u0430\u043a\u0438\u0435 API \u0432\u0430\u043c \u043d\u0443\u0436\u043d\u043e \u0430\u043a\u0442\u0438\u0432\u0438\u0440\u043e\u0432\u0430\u0442\u044c, \u0432\u043e\u0442 \u0441\u043f\u0438\u0441\u043e\u043a \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u044b\u0445 API \u0434\u043b\u044f \u0432\u0441\u0435\u0445 \u0444\u0443\u043d\u043a\u0446\u0438\u0439 Google Maps:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>\u041d\u0430\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u044f Google \u041a\u0430\u0440\u0442<\/li>\n\n\n\n<li>\u041c\u0430\u0442\u0440\u0438\u0446\u0430 \u0440\u0430\u0441\u0441\u0442\u043e\u044f\u043d\u0438\u0439 Google Maps<\/li>\n\n\n\n<li>\u0412\u044b\u0441\u043e\u0442\u0430 \u043d\u0430 \u043a\u0430\u0440\u0442\u0430\u0445 Google<\/li>\n\n\n\n<li>\u0413\u0435\u043e\u043a\u043e\u0434\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0435 \u043a\u0430\u0440\u0442 Google<\/li>\n\n\n\n<li>Google \u041a\u0430\u0440\u0442\u044b JavaScript<\/li>\n<\/ul>\n\n\n\n<p>\u0412\u044b \u0434\u043e\u043b\u0436\u043d\u044b \u0432\u043a\u043b\u044e\u0447\u0438\u0442\u044c \u044d\u0442\u0438 API \u0432 \u0440\u0430\u0437\u0434\u0435\u043b\u0435 \u00ab\u0411\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0430\u00bb.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Where_to_insert_my_API_key\"><\/span>\u041a\u0443\u0434\u0430 \u0432\u0441\u0442\u0430\u0432\u0438\u0442\u044c \u043c\u043e\u0439 \u043a\u043b\u044e\u0447 API?<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p>\u0415\u0441\u043b\u0438 \u0432\u044b \u0432\u0445\u043e\u0434\u0438\u0442\u0435 \u0432 \u0441\u0432\u043e\u0439 WordPress \u043a\u0430\u043a \u0430\u0434\u043c\u0438\u043d\u0438\u0441\u0442\u0440\u0430\u0442\u043e\u0440, \u0432\u044b \u043c\u043e\u0436\u0435\u0442\u0435 \u0432\u0441\u0442\u0430\u0432\u0438\u0442\u044c \u043a\u043b\u044e\u0447 API \u0432 <strong>Citadela Listing &gt; \u0418\u043d\u0442\u0435\u0433\u0440\u0430\u0446\u0438\u0438<\/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;\">\u041d\u0430\u0447\u0430\u0442\u044c \u0441\u0435\u0439\u0447\u0430\u0441<\/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\/ru\/\u0446\u0435\u043d\u043e\u043e\u0431\u0440\u0430\u0437\u043e\u0432\u0430\u043d\u0438\u0435\/\" style=\"border-radius:3px\">\u041a\u0423\u041f\u0418\u0422\u042c \u0421\u0415\u0419\u0427\u0410\u0421<\/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\">\u041e\u0433\u043b\u0430\u0432\u043b\u0435\u043d\u0438\u0435<\/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\/ru\/google-maps-api-\u043e\u0448\u0438\u0431\u043a\u0430\/#How_to_get_my_API_key\" >\u041a\u0430\u043a \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u044c \u043c\u043e\u0439 \u043a\u043b\u044e\u0447 API?<\/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\/ru\/google-maps-api-\u043e\u0448\u0438\u0431\u043a\u0430\/#Which_APIs_do_I_need\" >\u041a\u0430\u043a\u0438\u0435 API \u043c\u043d\u0435 \u043d\u0443\u0436\u043d\u044b?<\/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\/ru\/google-maps-api-\u043e\u0448\u0438\u0431\u043a\u0430\/#Where_to_insert_my_API_key\" >\u041a\u0443\u0434\u0430 \u0432\u0441\u0442\u0430\u0432\u0438\u0442\u044c \u043c\u043e\u0439 \u043a\u043b\u044e\u0447 API?<\/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\/ru\/wp-json\/wp\/v2\/posts\/90923","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.ait-themes.club\/ru\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.ait-themes.club\/ru\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.ait-themes.club\/ru\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.ait-themes.club\/ru\/wp-json\/wp\/v2\/comments?post=90923"}],"version-history":[{"count":3,"href":"https:\/\/www.ait-themes.club\/ru\/wp-json\/wp\/v2\/posts\/90923\/revisions"}],"predecessor-version":[{"id":96735,"href":"https:\/\/www.ait-themes.club\/ru\/wp-json\/wp\/v2\/posts\/90923\/revisions\/96735"}],"wp:attachment":[{"href":"https:\/\/www.ait-themes.club\/ru\/wp-json\/wp\/v2\/media?parent=90923"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.ait-themes.club\/ru\/wp-json\/wp\/v2\/categories?post=90923"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.ait-themes.club\/ru\/wp-json\/wp\/v2\/tags?post=90923"},{"taxonomy":"citadela-post-location","embeddable":true,"href":"https:\/\/www.ait-themes.club\/ru\/wp-json\/wp\/v2\/citadela-post-location?post=90923"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}