"use strict";(self.webpackChunknewoaks_help=self.webpackChunknewoaks_help||[]).push([[1908],{2278:(e,t,o)=>{o.r(t),o.d(t,{assets:()=>p,contentTitle:()=>s,default:()=>d,frontMatter:()=>a,metadata:()=>n,toc:()=>l});const n=JSON.parse('{"id":"integration-googleplace","title":"Google Place Integration","description":"Step 1: Replace YOURAPIKEY in the script below with your true API key for Google Place API.","source":"@site/Integration/010.integration-googleplace.md","sourceDirName":".","slug":"/integration-googleplace","permalink":"/guides/integration/integration-googleplace","draft":false,"unlisted":false,"tags":[],"version":"current","sidebarPosition":10,"frontMatter":{"sidebar_position":10},"sidebar":"sidebar","previous":{"title":"Make Integration","permalink":"/guides/integration/integration-make"},"next":{"title":"Google Login Integration","permalink":"/guides/integration/integration-googlelogin"}}');var i=o(4848),r=o(8453);o(8175);const a={sidebar_position:10},s="Google Place Integration",p={},l=[{value:"Step 1: Replace YOURAPIKEY in the script below with your true API key for Google Place API.",id:"step-1-replace-yourapikey-in-the-script-below-with-your-true-api-key-for-google-place-api",level:2},{value:"Copy and paste the prompt below as one single prompt and execute it in the prompt window.",id:"copy-and-paste-the-prompt-below-as-one-single-prompt-and-execute-it-in-the-prompt-window",level:2}];function c(e){const t={code:"code",h1:"h1",h2:"h2",header:"header",p:"p",pre:"pre",...(0,r.R)(),...e.components};return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(t.header,{children:(0,i.jsx)(t.h1,{id:"google-place-integration",children:"Google Place Integration"})}),"\n",(0,i.jsx)(t.h2,{id:"step-1-replace-yourapikey-in-the-script-below-with-your-true-api-key-for-google-place-api",children:"Step 1: Replace YOURAPIKEY in the script below with your true API key for Google Place API."}),"\n",(0,i.jsx)(t.pre,{children:(0,i.jsx)(t.code,{children:'<script src="https://maps.googleapis.com/maps/api/js?key=YOURAPIKEY&libraries=places&v=weekly"><\/script>\n'})}),"\n",(0,i.jsx)(t.h2,{id:"copy-and-paste-the-prompt-below-as-one-single-prompt-and-execute-it-in-the-prompt-window",children:"Copy and paste the prompt below as one single prompt and execute it in the prompt window."}),"\n",(0,i.jsx)(t.p,{children:"Prompt (Enter the follow prompt as one sentence):"}),"\n",(0,i.jsx)(t.pre,{children:(0,i.jsx)(t.code,{children:'<script src="https://maps.googleapis.com/maps/api/js?key=YOURAPIKEY&libraries=places&v=weekly"><\/script>\n\nIn the address input form, implement an address field restricted to Australian addresses in an project using Google Places API\n'})})]})}function d(e={}){const{wrapper:t}={...(0,r.R)(),...e.components};return t?(0,i.jsx)(t,{...e,children:(0,i.jsx)(c,{...e})}):c(e)}},8175:(e,t,o)=>{o.d(t,{A:()=>i});o(6540);var n=o(4848);function i(){return(0,n.jsx)("code",{children:"EZsite"})}},8453:(e,t,o)=>{o.d(t,{R:()=>a,x:()=>s});var n=o(6540);const i={},r=n.createContext(i);function a(e){const t=n.useContext(r);return n.useMemo((function(){return"function"==typeof e?e(t):{...t,...e}}),[t,e])}function s(e){let t;return t=e.disableParentContext?"function"==typeof e.components?e.components(i):e.components||i:a(e.components),n.createElement(r.Provider,{value:t},e.children)}}}]);