An open API service indexing awesome lists of open source software.

https://github.com/googlemaps-samples/codelab-maps-nearby-search-js

Sample code for a web app using Google Maps Platform APIs for maps, geolocation, and place search
https://github.com/googlemaps-samples/codelab-maps-nearby-search-js

Last synced: 4 months ago
JSON representation

Sample code for a web app using Google Maps Platform APIs for maps, geolocation, and place search

Awesome Lists containing this project

README

          

![Contributors](https://img.shields.io/github/contributors/googlemaps-samples/codelab-maps-nearby-search-js?color=green)
[![License](https://img.shields.io/github/license/googlemaps-samples/codelab-maps-nearby-search-js?color=blue)][license]
[![StackOverflow](https://img.shields.io/stackexchange/stackoverflow/t/google-maps?color=orange&label=google-maps&logo=stackoverflow)](https://stackoverflow.com/questions/tagged/google-maps)
[![Discord](https://img.shields.io/discord/676948200904589322?color=6A7EC2&logo=discord&logoColor=ffffff)][Discord server]

# Nearby Business Search with Google Maps codelab

## Description

This repo provides the resource files (project template and finished code) for the [Build a Nearby Business Search service with Google Maps Platform codelab][codelab], a codelab that shows you how to build a basic web app using the [Maps JavaScript API][js-api] and [Places API][places-api] in the Google Maps Platform.

### What You'll Learn

Learn to use Google Maps Platform’s Maps and Places APIs to build a local business search, which geolocates the user and shows interesting places around them. The app integrates location, place details, place photos, and more.

Specifically, the codelab and sample demonstrate:
- How to create a customizable map
- How to geolocate the user
- How to search for nearby places and display the results
- How to fetch and display details about a place

## Requirements

To run the sample, you will need:

- To [sign up with Google Maps Platform]
- A Google Maps Platform [project] with the **Maps JavaScript and Places APIs** enabled
- An [API key] associated with the project above

## Contributing

Contributions are welcome and encouraged! If you'd like to contribute, send us a [pull request] and refer to our [code of conduct] and [contributing guide].

## Terms of Service

This sample uses Google Maps Platform services. Use of Google Maps Platform services through this sample is subject to the Google Maps Platform [Terms of Service].

This sample is not a Google Maps Platform Core Service. Therefore, the Google Maps Platform Terms of Service (e.g. Technical Support Services, Service Level Agreements, and Deprecation Policy) do not apply to the code in this sample.

## Support

This sample is offered via an open source [license]. It is not governed by the Google Maps Platform Support [Technical Support Services Guidelines], the [SLA], or the [Deprecation Policy]. However, any Google Maps Platform services used by the sample remain subject to the Google Maps Platform Terms of Service.

If you find a bug, or have a feature request, please [file an issue] on GitHub. If you would like to get answers to technical questions from other Google Maps Platform developers, ask through one of our [developer community channels]. If you'd like to contribute, please check the [contributing guide].

You can also discuss this sample on our [Discord server].

[codelab]: https://codelabs.developers.google.com/codelabs/google-maps-nearby-search-js
[js-api]: https://developers.google.com/maps/documentation/javascript
[places-api]: https://developers.google.com/maps/documentation/places
[API key]: https://developers.google.com/maps/documentation/javascript/get-api-key

[code of conduct]: ?tab=coc-ov-file#readme
[contributing guide]: CONTRIBUTING.md
[Deprecation Policy]: https://cloud.google.com/maps-platform/terms
[developer community channels]: https://developers.google.com/maps/developer-community
[Discord server]: https://discord.gg/hYsWbmk
[file an issue]: https://github.com/googlemaps-samples/codelab-maps-nearby-search-js/issues/new/choose
[license]: LICENSE
[pull request]: https://github.com/googlemaps-samples/codelab-maps-nearby-search-js/compare
[project]: https://developers.google.com/maps/documentation/javascript/cloud-setup#enabling-apis
[Sign up with Google Maps Platform]: https://console.cloud.google.com/google/maps-apis/start
[SLA]: https://cloud.google.com/maps-platform/terms/sla
[Technical Support Services Guidelines]: https://cloud.google.com/maps-platform/terms/tssg
[Terms of Service]: https://cloud.google.com/maps-platform/terms