{"id":28711758,"url":"https://github.com/googlemaps-samples/js-api-samples","last_synced_at":"2025-06-14T22:11:22.047Z","repository":{"id":277218665,"uuid":"751461228","full_name":"googlemaps-samples/js-api-samples","owner":"googlemaps-samples","description":"The home of Google Maps JavaScript API documentation samples.","archived":false,"fork":false,"pushed_at":"2025-06-12T21:11:54.000Z","size":1145,"stargazers_count":5,"open_issues_count":2,"forks_count":2,"subscribers_count":7,"default_branch":"main","last_synced_at":"2025-06-12T22:26:49.488Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/googlemaps-samples.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"docs/contributing.md","funding":null,"license":"LICENSE","code_of_conduct":"docs/code-of-conduct.md","threat_model":null,"audit":null,"citation":null,"codeowners":".github/CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2024-02-01T16:53:03.000Z","updated_at":"2025-06-12T21:11:55.000Z","dependencies_parsed_at":"2025-02-27T17:57:39.990Z","dependency_job_id":"41c56e47-7f48-4f8e-8a43-df9bc4835399","html_url":"https://github.com/googlemaps-samples/js-api-samples","commit_stats":null,"previous_names":["googlemaps-samples/js-api-samples"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/googlemaps-samples/js-api-samples","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/googlemaps-samples%2Fjs-api-samples","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/googlemaps-samples%2Fjs-api-samples/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/googlemaps-samples%2Fjs-api-samples/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/googlemaps-samples%2Fjs-api-samples/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/googlemaps-samples","download_url":"https://codeload.github.com/googlemaps-samples/js-api-samples/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/googlemaps-samples%2Fjs-api-samples/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":259890461,"owners_count":22927374,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-06-14T22:11:21.313Z","updated_at":"2025-06-14T22:11:22.029Z","avatar_url":"https://github.com/googlemaps-samples.png","language":"TypeScript","readme":"# js-api-samples\n\n## Description\n\nWelcome to the js-api-samples repository, the home of Google Maps JavaScript API documentation samples.\n\n## Important Note: Repository Migration in Progress\n\nThis repository (`js-api-samples`) is the new home for the Maps JavaScript API samples. \n\nWe are currently migrating all samples from the old repository (`js-samples`). During this transition,\nyou may find some samples are still missing or under development.\n\n* [**js-samples GitHub Repository:**](https://github.com/googlemaps/js-samples)\n* [**Maps JavaScript API Documentation:**](https://developers.google.com/maps/documentation/javascript/)\n\nWe appreciate your patience as we complete this migration. Please check back regularly for updates.\n\nTry the examples out at [Google Maps JavaScript API documentation](https://developers.google.com/maps/documentation/javascript/examples).\n\n## Development\n\nEach example is one atomic unit, for which dependencies must be individually set up.\n\n### Build samples\n\n1. Run `npm i` to install dependencies. You only need to do this once, and\nthereafter only to update dependencies.\n1. Navigate to the top level (`samples/`).\n\n  - To build a single sample, run `npm run build --workspace=sample-name/`\n  - To build all samples, run `npm run build-all`.\n\nBuild output is copied to the main `dist/` folder. Each individual sample folder\nalso contains a `dist/` folder, but this is only used by Vite for live preview.\n\n### Run a single sample\n\n1. Navigate to the folder for the sample you want to run (`cd samples/sample-name`).\n1. Run `npm start` to start a server with that sample.\n\n### Testing\n\n- To test, navigate to project root and run `npx playwright test`. {# TODO: Expand this section. #}\n\n## Contributing\n\nContributions are welcome! Please see [contributing](../docs/contributing.md) for more information.\n\n## Terms of Service\n\nThis library uses Google Maps Platform services. Use of Google Maps Platform services through this library is subject to the Google Maps Platform [Terms of Service](https://cloud.google.com/maps-platform/terms).\n\nThis library 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 library.\n\n## Support\n\nThis library is offered via an open source [license](https://www.apache.org/licenses/LICENSE-2.0). It is not governed by the Google Maps Platform Support [Technical Support Services Guidelines](https://cloud.google.com/maps-platform/terms/tssg), the [SLA](https://cloud.google.com/maps-platform/terms/sla), or the [Deprecation Policy](https://cloud.google.com/maps-platform/terms) (however, any Google Maps Platform services used by the library remain subject to the Google Maps Platform Terms of Service).\n\nThis library adheres to [semantic versioning](https://semver.org/) to indicate when backwards-incompatible changes are introduced. Accordingly, while the library is in version 0.x, backwards-incompatible changes may be introduced at any time. \n\nIf 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](https://developers.google.com/maps/developer-community). If you'd like to contribute, please check the [Contributing guide]().\n\nYou can also discuss this library on our [Discord server](https://discord.gg/hYsWbmk).\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgooglemaps-samples%2Fjs-api-samples","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgooglemaps-samples%2Fjs-api-samples","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgooglemaps-samples%2Fjs-api-samples/lists"}