JS field doesn't accept Google Maps API library for external resources. (I'm not sure why) So you need to insert <script>tag into the body field.

And JS field generates "window.onload" automatically. You don't have to write "google.maps.event.addDomListener" in JS field.

http://jsfiddle.net/wf9a5m75/NpYwE/27/

<div id="panel" style="margin-left: -260px">
    <input id="searchTextField" type="text" size="50">
    <input type="radio" name="type" id="changetype-all" checked="checked">
    <label for="changetype-all">All</label>
    <input type="radio" name="type" id="changetype-establishment">
    <label for="changetype-establishment">Establishments</label>
    <input type="radio" name="type" id="changetype-geocode">
    <label for="changetype-geocode">Geocodes</lable>
</div>
<div id="map-canvas"></div>
        <script src="http://maps.google.com/maps/api/js?sensor=false&libraries=places"></script>
Answer from wf9a5m75 on Stack Overflow
🌐
Google
developers.google.com › google maps platform › web › maps javascript api › place searches
Place Searches | Maps JavaScript API | Google for Developers
The Place Searches sample demonstrates how to use the findPlaceFromQuery() method to locate a place, and then create and add a marker for it to the map. Read the documentation. // This example requires the Places library.
🌐
Google
developers.google.com › google maps platform › web services › places api
Overview | Places API | Google for Developers
Places API (New) accepts requests as a standard URL with a specific service endpoint, such as /places or places:searchText and returns a JSON response. Places API (New) supports authorization by API key and OAuth token.
🌐
DigitalOcean
digitalocean.com › community › tutorials › google-places-api
Google Places API Web Service Example | DigitalOcean
August 4, 2022 - Google Places API can be used to find nearby places. In this tutorial, we’ll be developing an application that displays the nearby places of our choice along with the approximate distance and time from our current location.
🌐
Elfsight
elfsight.com › blog › how-to-use-google-places-api-and-get-an-api-key
How to use Google Places API and get an API key
October 7, 2024 - As it was mentioned above, Places API lets you search for place information using a huge number of categories. The following Google Places API example demonstrates a Find Place request for “Museum of Contemporary Art Australia”:
🌐
AFI
blog.afi.io › blog › finding-the-right-place-with-the-google-places-api
Finding the right place with the Google Places API
May 25, 2024 - How to use the Google Nearby Search API to find nearby places, businesses and points of interest. ... Demo app for the Google Places Text Search API.
🌐
GitHub
github.com › googlemaps-samples › android-places-demos
GitHub - googlemaps-samples/android-places-demos: Google Places SDK Demos for Android
Open the local.properties file in either demo project · Add a single line to local.properties that looks like PLACES_API_KEY=YOUR_API_KEY, where YOUR_API_KEY is the API key you obtained in the first step. You can also take a look at local.defaults.properties as an example. Build and run. This sample uses Google Maps Platform services.
Starred by 206 users
Forked by 122 users
Languages   Kotlin 69.0% | Java 31.0%
🌐
Google
developers.google.com › google maps platform › web › maps javascript api › place autocomplete
Place Autocomplete | Maps JavaScript API | Google for Developers
The Place Autocomplete sample demonstrates how to use the Place Autocomplete widget to provide a type-ahead search box. The radio buttons allow you to filter the types of predictions that the autocomplete returns.
Find elsewhere
🌐
Foursquare
docs.foursquare.com › developer › reference › places-api-demos
Places API Demos
This document provides information on three different APIs: Local Place Search Mapping, Address Form Autofill, and Map Search with Address Directory, each with a brief description and a link to view a demo.
🌐
Google Maps
mapsplatform.google.com › gemini-placesapi-demo
Gemini model capabilities for Places API – Google Maps Platform
Provide AI-powered summaries and contextual search results to help your users more easily find the ideal places.
🌐
GitHub
github.com › lewagon › google-place-autocomplete
GitHub - lewagon/google-place-autocomplete: Exemple of Google Place Autocomplete Javascript API
This sample code show you how to quickly use the Places Autocomplete javascript API from Google. See demo right now · Look at the index.html file, you'll see a very standard form.
Starred by 44 users
Forked by 21 users
Languages   HTML 79.1% | JavaScript 20.9%
🌐
Google
developers.google.com › google maps platform › web services › places api › about the places api (new)
About the Places API (New) | Google for Developers
Google frequently regenerates these summaries to ensure that they are fresh based on the latest available information. When you make a Places API (New) request, you will display the freshest data in your app. Try the AI-powered summaries demoopen_in_new ·
🌐
Medium
medium.com › swlh › google-maps-places-api-28b8fdf28082
Google Maps: Places API. A step-by-step guide on how to use… | by Francis Morales | The Startup | Medium
May 20, 2020 - For this exercise, I used the Places API — Find Place request and retrieved fields from the Basic category in order to avoid any costs on my requests. ... Create a Billing Account: You need a Google Account and a credit card for this step.
🌐
Medium
medium.com › swlh › how-to-implement-google-places-api-in-your-application-js-express-node-js-97b16da24835
How to Implement Google Places API in Your Application (JS, Express, Node.js) | by Yang Gu | The Startup | Medium
August 28, 2020 - For dev purpose only, the $300 free credit that Google gives new users to explore the platform is usually enough and you won’t be charged until you choose to upgrade. For making API calls to retrieve places, it’s about $3 per 1000 requests.
🌐
Google
developers.google.com › google maps platform › web services › places api › google maps platform documentation
Google Maps Platform Documentation | Places API | Google for Developers
Get place predictions and query predictions in response to an input string. Run live code samples on your local machine and favorite code playgrounds with the Maps JavaScript API.
🌐
GitHub
github.com › topics › google-places-api
google-places-api · GitHub Topics · GitHub
flutter google-places-api flutter-demo · Updated · Mar 20, 2018 · Dart · Star 26 · Google Maps integration into Qualtrics. google-maps google-maps-api qualtrics google-places-api qualtrics-integration · Updated · Aug 15, 2025 · TypeScript · Star 20 · Google Places API Library.
🌐
Google
developers.google.com › google maps platform › web › maps javascript api › places library
Places Library | Maps JavaScript API | Google for Developers
The example below demonstrates how to alter your callback function to capture the PlaceSearchPagination object, so that you can issue multiple search requests. // This example requires the Places library.
🌐
Placesapi
placesapi.co.uk › index.php › docs › demo3-google-maps
Google Maps integration demo - PlacesAPI Docs - Algolia Places alternative / replacement, powered by Algolia
const { autocomplete, getAlgoliaResults } = window["@algolia/autocomplete-js"]; const searchClient = algoliasearch( "DM340JGS49", "YOUR_PLACESAPI_KEY_HERE" ); autocomplete({ container: "#search-container", detachedMediaQuery: "none", placeholder: "Search for places...", onReset() { initMap(); }, onStateChange({ prevState, state }) { if (state.query.length == 0) { initMap(); } }, getSources() { return [{ sourceId: "places", getItems({ query }) { return getAlgoliaResults({ searchClient, queries: [ { indexName: "places", query, }, ], }); }, templates: { item({ item }) { return `${item.name}, ${it
🌐
AFI
blog.afi.io › blog › google-place-details-and-place-photos-api
Google Place Details and Place Photos API
August 15, 2025 - In the /backend folder, create a new file called .env and add the line GOOGLE_API_KEY={YOUR_API_KEY} (replace {YOUR_API_KEY} with your Google Maps API key (make sure you have the Places API enabled). In the /frontend folder, insert this statement -REACT_APP_BACKEND_URI="http://localhost:3001/api" to the .env file there. Run backend + frontend The final step to get our demo app working is to run npm start in /backend in one tab followed by npm start in /frontend on another.