{"id":15693842,"url":"https://github.com/magicdawn/vue-mgl","last_synced_at":"2025-07-27T04:07:25.992Z","repository":{"id":75520996,"uuid":"225856383","full_name":"magicdawn/vue-mgl","owner":"magicdawn","description":"mapbox-gl vue components (map, layers, sources, controls). docs see: ","archived":false,"fork":false,"pushed_at":"2020-01-16T12:05:09.000Z","size":100,"stargazers_count":8,"open_issues_count":0,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-06-09T13:09:49.973Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://vue-mgl.netlify.com/","language":"JavaScript","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/magicdawn.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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-12-04T11:57:51.000Z","updated_at":"2024-10-02T08:26:19.000Z","dependencies_parsed_at":null,"dependency_job_id":"371c3b71-f25a-4ed2-befd-5c77116ab0aa","html_url":"https://github.com/magicdawn/vue-mgl","commit_stats":{"total_commits":47,"total_committers":1,"mean_commits":47.0,"dds":0.0,"last_synced_commit":"8e4bd7cf7f203b4ddc6937abf3ba0ecc7a4b3bea"},"previous_names":[],"tags_count":7,"template":false,"template_full_name":null,"purl":"pkg:github/magicdawn/vue-mgl","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/magicdawn%2Fvue-mgl","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/magicdawn%2Fvue-mgl/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/magicdawn%2Fvue-mgl/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/magicdawn%2Fvue-mgl/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/magicdawn","download_url":"https://codeload.github.com/magicdawn/vue-mgl/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/magicdawn%2Fvue-mgl/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":264805653,"owners_count":23666528,"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":"2024-10-03T18:49:38.004Z","updated_at":"2025-07-27T04:07:25.972Z","avatar_url":"https://github.com/magicdawn.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# vue-mgl\n\n\u003e mapbox-gl vue components (map, layers, sources, controls)\n\n[![Build Status](https://img.shields.io/travis/magicdawn/vue-mgl.svg?style=flat-square)](https://travis-ci.org/magicdawn/vue-mgl)\n[![Coverage Status](https://img.shields.io/codecov/c/github/magicdawn/vue-mgl.svg?style=flat-square)](https://codecov.io/gh/magicdawn/vue-mgl)\n[![npm version](https://img.shields.io/npm/v/vue-mgl.svg?style=flat-square)](https://www.npmjs.com/package/vue-mgl)\n[![npm downloads](https://img.shields.io/npm/dm/vue-mgl.svg?style=flat-square)](https://www.npmjs.com/package/vue-mgl)\n[![npm license](https://img.shields.io/npm/l/vue-mgl.svg?style=flat-square)](http://magicdawn.mit-license.org)\n\n## Install\n\n```sh\n$ npm i vue-mgl --save\n```\n\n### builds\n\n| file                       | field            | desc                                  | externals                    |\n| -------------------------- | ---------------- | ------------------------------------- | ---------------------------- |\n| `dist/vue-mgl.esm.js`      | `package.module` | es module build                       | external all dependencies    |\n| `dist/vue-mgl.common.js`   | `package.main`   | commonjs build                        | external all dependencies    |\n| `dist/vue-mgl-full.umd.js` | `package.umd`    | browser build, for `\u003cscript src\u003e` use | external `mapbox-gl` \u0026 `vue` |\n\n## API\n\n### use global `mgl-*` component\n\n```js\nimport VueMgl from 'vue-mgl'\nimport Vue from 'vue'\nVue.use(VueMgl) // this will add MglMap ... global components\n```\n\n### manual import\n\n```js\nimport { MglMap, MglSource, MglLayer } from 'vue-mgl'\n\nexport default {\n  // ...\n  components: { MglMap, MglSource, MglLayer },\n  // ...\n}\n```\n\n## Changelog\n\n[CHANGELOG.md](CHANGELOG.md)\n\n## License\n\nthe MIT License http://magicdawn.mit-license.org\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmagicdawn%2Fvue-mgl","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmagicdawn%2Fvue-mgl","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmagicdawn%2Fvue-mgl/lists"}