{"id":28092455,"url":"https://github.com/xianaiwen/vue2-googlemap","last_synced_at":"2025-08-17T22:06:01.645Z","repository":{"id":143927017,"uuid":"122729137","full_name":"xianaiwen/vue2-googlemap","owner":"xianaiwen","description":"基于 Vue 2.x 和google地图组件","archived":false,"fork":false,"pushed_at":"2018-03-01T02:40:41.000Z","size":1560,"stargazers_count":32,"open_issues_count":0,"forks_count":7,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-08-17T22:02:04.114Z","etag":null,"topics":["googlemap","javascript","vue2"],"latest_commit_sha":null,"homepage":"https://xianaiwen.github.io/vue2-googlemap","language":"Vue","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/xianaiwen.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,"zenodo":null}},"created_at":"2018-02-24T10:14:31.000Z","updated_at":"2024-02-12T16:05:12.000Z","dependencies_parsed_at":null,"dependency_job_id":"043d8c9d-ac81-4641-94e7-4c9f53a8b3f7","html_url":"https://github.com/xianaiwen/vue2-googlemap","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/xianaiwen/vue2-googlemap","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xianaiwen%2Fvue2-googlemap","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xianaiwen%2Fvue2-googlemap/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xianaiwen%2Fvue2-googlemap/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xianaiwen%2Fvue2-googlemap/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/xianaiwen","download_url":"https://codeload.github.com/xianaiwen/vue2-googlemap/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xianaiwen%2Fvue2-googlemap/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":270912603,"owners_count":24666751,"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","status":"online","status_checked_at":"2025-08-17T02:00:09.016Z","response_time":129,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["googlemap","javascript","vue2"],"created_at":"2025-05-13T13:16:42.944Z","updated_at":"2025-08-17T22:06:01.631Z","avatar_url":"https://github.com/xianaiwen.png","language":"Vue","funding_links":[],"categories":[],"sub_categories":[],"readme":"# vue2-googlemap\n\n\u003e 基于 Vue 2.x 和google地图的地图组件\n\n## Install\n\n``` bash\nnpm install -S vue2-googlemap\n```\n\n## Usage\n\n``` javascript\nimport Vue from 'vue';\nimport vueGooglemap from 'vue2-googlemap';\n\nVue.use(vueGooglemap);\n\n/*\n  The api key is required.\n  If you want to ignore the browser's language setting, you can set the language parameter.\n  Suggest to use the release version. v=3 by default.\n*/\nvueGooglemap.initGooglemap({\n  key: 'your GOOGLE_MAPS_API_KEY',\n  language: 'zh-CN',\n  v: '3',\n})\n```\n\n## Components\n\n### Map\n``` javascript\n\u003cvue-googlemap :center=\"center\" :zoom=\"zoom\" :controls=\"controls\" :events=\"events\" \u003e\u003c/vue-googlemap\u003e\n```\n### Marker\n``` javascript\n\u003cvue-googlemap-marker :position=\"position\" :icon=\"icon\" :events=\"events\" \u003e\u003c/vue-googlemap-marker\u003e\n```\n### infoWindow\n``` javascript\n\u003cvue-googlemap-infoWindow :position=\"position\" :events=\"events\" @change=\"change\" \u003e\u003c/vue-googlemap-infoWindow\u003e\n```\n### Circle\n``` javascript\n\u003cvue-googlemap-circle :center=\"center\" :radius=\"radius\" :events=\"events\" @change=\"change\" editable \u003e\u003c/vue-googlemap-circle\u003e\n```\n### Rectangle\n``` javascript\n\u003cvue-googlemap-rectangle :bounds=\"bounds\" :events=\"events\" @change=\"change\" editable \u003e\u003c/vue-googlemap-rectangle\u003e\n```\n### Polyline\n``` javascript\n\u003cvue-googlemap-polyline :path=\"path\" :events=\"events\" @change=\"change\" editable \u003e\u003c/vue-googlemap-polyline\u003e\n```\n### Polygon\n``` javascript\n\u003cvue-googlemap-polygon :paths=\"paths\" :events=\"events\" @change=\"change\" editable \u003e\u003c/vue-googlemap-polygon\u003e\n```\n## License\n\nThis project is covered under the MIT License. Feel free to use it wherever you like.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxianaiwen%2Fvue2-googlemap","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fxianaiwen%2Fvue2-googlemap","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxianaiwen%2Fvue2-googlemap/lists"}