{"id":13723618,"url":"https://github.com/beyonk-group/svelte-googlemaps","last_synced_at":"2025-05-07T17:30:42.539Z","repository":{"id":42221444,"uuid":"168982284","full_name":"beyonk-group/svelte-googlemaps","owner":"beyonk-group","description":"Svelte Google Maps Components","archived":false,"fork":false,"pushed_at":"2024-03-11T09:23:44.000Z","size":672,"stargazers_count":79,"open_issues_count":13,"forks_count":20,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-10-29T18:05:50.101Z","etag":null,"topics":["geolocation","gmaps","google","google-maps","googlemaps","maps","places","ssr","svelte","vanilla-javascript","vanillajs"],"latest_commit_sha":null,"homepage":null,"language":"Svelte","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/beyonk-group.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-02-03T19:08:10.000Z","updated_at":"2024-09-10T09:09:40.000Z","dependencies_parsed_at":"2024-06-20T02:08:06.271Z","dependency_job_id":null,"html_url":"https://github.com/beyonk-group/svelte-googlemaps","commit_stats":null,"previous_names":["beyonk-group/svelte-googlemaps","beyonk-adventures/svelte-googlemaps"],"tags_count":22,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/beyonk-group%2Fsvelte-googlemaps","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/beyonk-group%2Fsvelte-googlemaps/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/beyonk-group%2Fsvelte-googlemaps/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/beyonk-group%2Fsvelte-googlemaps/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/beyonk-group","download_url":"https://codeload.github.com/beyonk-group/svelte-googlemaps/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252926518,"owners_count":21826326,"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":["geolocation","gmaps","google","google-maps","googlemaps","maps","places","ssr","svelte","vanilla-javascript","vanillajs"],"created_at":"2024-08-03T01:01:43.444Z","updated_at":"2025-05-07T17:30:42.171Z","avatar_url":"https://github.com/beyonk-group.png","language":"Svelte","funding_links":[],"categories":["components and libraries"],"sub_categories":["maps"],"readme":"\u003ca href=\"https://beyonk.com\"\u003e\n    \u003cbr /\u003e\n    \u003cbr /\u003e\n    \u003cimg src=\"https://user-images.githubusercontent.com/218949/144224348-1b3a20d5-d68e-4a7a-b6ac-6946f19f4a86.png\" width=\"198\" /\u003e\n    \u003cbr /\u003e\n    \u003cbr /\u003e\n\u003c/a\u003e\n\n## Svelte Google Maps\n\n[![js-standard-style](https://img.shields.io/badge/code%20style-standard-brightgreen.svg)](http://standardjs.com) ![publish](https://github.com/beyonk-adventures/svelte-googlemaps/workflows/publish/badge.svg) [![svelte-v3](https://img.shields.io/badge/svelte-v3-blueviolet.svg)](https://svelte.dev)\n\nMaps and Places components in Vanilla JS (or Svelte)\n\nParticular focus on efficient loading of Google components in an SPA.\n\nSSR Ready\n\n## WIP\n\nDocumentation is a WIP. Be prepared to examine the source code to get any use out of this right now!\n\nThe `GoogleMap` and `GooglePlacesAutocomplete` components are a Google Map and Google Places Autocomplete component respectively.\n\n## Usage\n\n### To use within a Svelte application:\n\n```jsx\n\u003cGooglePlacesAutocomplete apiKey=\"your-maps-api-key\"/\u003e\n\u003cGoogleMap apiKey=\"your-maps-api-key\"/\u003e\n\n\u003cscript\u003e\n  import { GoogleMap, GooglePlacesAutocomplete } from '@beyonk/svelte-googlemaps'\n\u003c/script\u003e\n```\n\n### Options\n\n## Autocomplete\n\n| Attribute | Purpose | Allowed | Default |\n|---|---|---|---|\n| ariaLabel | Sets aria-label value on input | string | 'location' |\n| on:placeChanged | Place changed event (does not fire if user hit enter without selecting an address) | any function | - |\n| placeholder | placeholder text | any string | - |\n| styleClass | css styles for input | any classes | - |\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbeyonk-group%2Fsvelte-googlemaps","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbeyonk-group%2Fsvelte-googlemaps","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbeyonk-group%2Fsvelte-googlemaps/lists"}