{"id":21647170,"url":"https://github.com/itsteknas/ngx-place-picker","last_synced_at":"2026-05-19T17:02:11.503Z","repository":{"id":77797259,"uuid":"182097069","full_name":"itsTeknas/ngx-place-picker","owner":"itsTeknas","description":"Angular components to help pick location using google maps and places API","archived":false,"fork":false,"pushed_at":"2022-05-30T09:50:19.000Z","size":266,"stargazers_count":2,"open_issues_count":2,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-09T08:02:15.872Z","etag":null,"topics":["angular","google","google-maps-api","location","maps","ngx","picker","place"],"latest_commit_sha":null,"homepage":"https://itsteknas.github.io/ngx-place-picker/","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/itsTeknas.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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-04-18T13:54:14.000Z","updated_at":"2022-05-27T11:08:28.000Z","dependencies_parsed_at":"2023-03-13T20:14:19.378Z","dependency_job_id":null,"html_url":"https://github.com/itsTeknas/ngx-place-picker","commit_stats":{"total_commits":58,"total_committers":4,"mean_commits":14.5,"dds":0.5,"last_synced_commit":"af132265b6640f3c03fabba22fefd07ba60a1f10"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/itsTeknas%2Fngx-place-picker","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/itsTeknas%2Fngx-place-picker/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/itsTeknas%2Fngx-place-picker/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/itsTeknas%2Fngx-place-picker/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/itsTeknas","download_url":"https://codeload.github.com/itsTeknas/ngx-place-picker/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244531014,"owners_count":20467391,"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":["angular","google","google-maps-api","location","maps","ngx","picker","place"],"created_at":"2024-11-25T06:48:45.055Z","updated_at":"2026-05-19T17:02:06.458Z","avatar_url":"https://github.com/itsTeknas.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ngx-place-picker\n\nAngular components to help pick location using google maps and places API\n\u003cbr\u003e\n[Live Preview](https://itsteknas.github.io/ngx-place-picker/).\n\n## Installation\n\n`npm install --save ngx-place-picker`\n\n## Usage\n\n``` html\n\u003cngx-place-picker \n    (locationChanged)=\"this.logLocationChange($event)\" \n    [enablePlacesSearch]=\"true\"\n    [enableCurrentLocation]=\"true\"\u003e\n\u003c/ngx-place-picker\u003e\n```\n\n## Inputs\n\n**`[enableCurrentLocation]`** *`(boolean)`*: Defaults the map to current location\n\n**`[enablePlacesSearch]`** *`(boolean)`*: Enable a search bar to search via Google places API\n\n**`[defaultLocation]`** *`(Location)`*: Pass a default location to center the map\n\n```\n{\n    lat: 0,\n    lng: 0,\n    zoom: 14\n}\n```\n\n**`[vSize]`** *`(number)`*: vertical size of the map, Horizontal size is taken from the parent\n\n## Outputs\n\n**`(locationChanged)`** *`(Location)`*: Selected location\n\n## Library initialization\n\nAdd the script tag for Google maps in your html file\n```\n\u003cscript async defer src=\"https://maps.googleapis.com/maps/api/js?key=\u003cAPI_KEY\u003e\u0026libraries=places\"\u003e\n  \u003c/script\u003e\n```\nReplace the **API_KEY** with api key obtained from google cloud console\n\nYou can skip the `\u0026libraries=places` if you don't intend to use the search.\n\nIf your app immediately shows the map widget, you'll have to remove `async defer` from the script tag","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fitsteknas%2Fngx-place-picker","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fitsteknas%2Fngx-place-picker","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fitsteknas%2Fngx-place-picker/lists"}