{"id":15033381,"url":"https://github.com/vue-leaflet/vue2leaflet","last_synced_at":"2025-05-13T20:07:54.756Z","repository":{"id":37664724,"uuid":"70004926","full_name":"vue-leaflet/Vue2Leaflet","owner":"vue-leaflet","description":"Vue 2 components for Leaflet maps","archived":false,"fork":false,"pushed_at":"2024-10-29T14:23:03.000Z","size":11525,"stargazers_count":1959,"open_issues_count":41,"forks_count":378,"subscribers_count":38,"default_branch":"master","last_synced_at":"2025-05-06T19:52:03.236Z","etag":null,"topics":["leaflet","map","vue","vuejs"],"latest_commit_sha":null,"homepage":"https://vue2-leaflet.netlify.app","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/vue-leaflet.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,"zenodo":null}},"created_at":"2016-10-04T20:47:13.000Z","updated_at":"2025-04-24T06:34:02.000Z","dependencies_parsed_at":"2024-11-14T13:01:39.169Z","dependency_job_id":null,"html_url":"https://github.com/vue-leaflet/Vue2Leaflet","commit_stats":{"total_commits":839,"total_committers":90,"mean_commits":9.322222222222223,"dds":0.7473182359952324,"last_synced_commit":"2fd50c3b51cda5492399011b959012f44d4e473b"},"previous_names":["korigan/vue2leaflet"],"tags_count":90,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vue-leaflet%2FVue2Leaflet","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vue-leaflet%2FVue2Leaflet/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vue-leaflet%2FVue2Leaflet/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vue-leaflet%2FVue2Leaflet/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/vue-leaflet","download_url":"https://codeload.github.com/vue-leaflet/Vue2Leaflet/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254020484,"owners_count":22000750,"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":["leaflet","map","vue","vuejs"],"created_at":"2024-09-24T20:21:02.713Z","updated_at":"2025-05-13T20:07:54.695Z","avatar_url":"https://github.com/vue-leaflet.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Vue2Leaflet\n\n\u003c!-- ALL-CONTRIBUTORS-BADGE:START - Do not remove or modify this section --\u003e\n[![All Contributors](https://img.shields.io/badge/all_contributors-17-orange.svg?style=flat-square)](#contributors-)\n\u003c!-- ALL-CONTRIBUTORS-BADGE:END --\u003e\n\n\u003cimg src=\"https://github.com/vue-leaflet/Vue2Leaflet/workflows/Test%20Action/badge.svg?branch=master\" alt=\"ci\"\u003e\n\u003ca href=\"https://www.npmjs.com/package/vue2-leaflet\"\u003e\n\u003cimg src=\"https://img.shields.io/npm/dt/vue2-leaflet.svg\" alt=\"Downloads\"\u003e\n\u003c/a\u003e\n\u003ca href=\"https://www.npmjs.com/package/vue2-leaflet\"\u003e\n\u003cimg src=\"https://img.shields.io/npm/v/vue2-leaflet.svg\" alt=\"Version\"\u003e\n\u003c/a\u003e\n\u003ca href=\"https://www.npmjs.com/package/vue2-leaflet\"\u003e\n\u003cimg src=\"https://img.shields.io/npm/l/vue2-leaflet.svg\" alt=\"License\"\u003e\n\u003c/a\u003e\n\nVue2Leaflet is a JavaScript library for the [Vue](https://vuejs.org/) framework that wraps [Leaflet](http://leafletjs.com/) making it easy to create reactive maps.\n\n## How to install\n\n```bash\nnpm install vue2-leaflet leaflet --save\n```\n\nFor more detailed information you can follow the [Quick Start Guide](https://vue2-leaflet.netlify.app/quickstart/)\n\n## Breaking change from 1.x.x to 2.x.x\n\nA new major release 2.0.0 is available and come with two breaking changes:\n\n### Leaflet is not automatically installed anymore\n\nLeaflet is now a peerDependency and need to be installed manually, we updated our docs to reflect this but please pay attention when migrating\n\n### Importing the library in Webpack / Rollup\n\nNow the code of vue2-leaflet is split component by component (while using a bundler like Webpack/Rollup/Parcel) to do so the following syntax is not working anymore:\n\n```javascript\nimport Vue2Leaflet from 'vue2-leaflet'; // INVALID\n```\n\nAnd has been replaced by\n\n```javascript\nimport * as Vue2Leaflet from 'vue2-leaflet'; // VALID\n```\n\nIs highly suggested to import only the needed modules by doing so:\n\n```javascript\nimport { LMap, LTileLayer, LMarker } from 'vue2-leaflet';\n```\n\nThis will reduce the size of the bundle significantly\n\n## Documentation\n\n[Go here](https://vue2-leaflet.netlify.app/) to check out live examples and docs.\n\n## Support \u0026 Community\n\nDo you have questions? Ideas? do you want to collaborate but you feel lost? Join us on discord [Invite Link](https://discord.gg/uVZAfUf)\n\n## Leaflet Plugins\n\nVue2Leaflet has a wide array of plugins written by the community! [Check Here](https://vue2-leaflet.netlify.app/plugins/)\n\n## Contribute\n\n```bash\n# clone the repository\ngit clone https://github.com/vue-leaflet/Vue2Leaflet.git\ncd Vue2Leaflet\n# install dependencies and build vue2-leaflet\nnpm install\n# Compile the source and start the documentation server\nnpm run dev\n```\n\nGo to \u003chttp://localhost:8080/\u003e to see the docs and the examples\n\nAny changes to the source code is reflected in the docs after a handfuls of seconds.\n\n## Authors\n\n- Mickaël Bouchaud\n- Nicolò Maria Mezzopera\n\nInspired by many map wrapper (google and leaflet) for many framework (React, Angular and Vue 1.0)\n\n## Contributors\n\n\u003c!-- ALL-CONTRIBUTORS-LIST:START - Do not remove or modify this section --\u003e\n\u003c!-- prettier-ignore-start --\u003e\n\u003c!-- markdownlint-disable --\u003e\n\u003ctable\u003e\n  \u003ctr\u003e\n    \u003ctd align=\"center\"\u003e\u003ca href=\"https://github.com/DonNicoJs\"\u003e\u003cimg src=\"https://avatars3.githubusercontent.com/u/5890166?v=4\" width=\"100px;\" alt=\"\"/\u003e\u003cbr /\u003e\u003csub\u003e\u003cb\u003eNicolò Maria Mezzopera\u003c/b\u003e\u003c/sub\u003e\u003c/a\u003e\u003cbr /\u003e\u003ca href=\"https://github.com/vue-leaflet/Vue2Leaflet/commits?author=DonNicoJs\" title=\"Code\"\u003e💻\u003c/a\u003e \u003ca href=\"#maintenance-DonNicoJs\" title=\"Maintenance\"\u003e🚧\u003c/a\u003e \u003ca href=\"https://github.com/vue-leaflet/Vue2Leaflet/commits?author=DonNicoJs\" title=\"Documentation\"\u003e📖\u003c/a\u003e\u003c/td\u003e\n    \u003ctd align=\"center\"\u003e\u003ca href=\"https://github.com/KoRiGaN\"\u003e\u003cimg src=\"https://avatars2.githubusercontent.com/u/924890?v=4\" width=\"100px;\" alt=\"\"/\u003e\u003cbr /\u003e\u003csub\u003e\u003cb\u003eMickaël\u003c/b\u003e\u003c/sub\u003e\u003c/a\u003e\u003cbr /\u003e\u003ca href=\"https://github.com/vue-leaflet/Vue2Leaflet/commits?author=KoRiGaN\" title=\"Code\"\u003e💻\u003c/a\u003e \u003ca href=\"#maintenance-KoRiGaN\" title=\"Maintenance\"\u003e🚧\u003c/a\u003e\u003c/td\u003e\n    \u003ctd align=\"center\"\u003e\u003ca href=\"https://github.com/bezany\"\u003e\u003cimg src=\"https://avatars2.githubusercontent.com/u/5105017?v=4\" width=\"100px;\" alt=\"\"/\u003e\u003cbr /\u003e\u003csub\u003e\u003cb\u003ebezany\u003c/b\u003e\u003c/sub\u003e\u003c/a\u003e\u003cbr /\u003e\u003ca href=\"https://github.com/vue-leaflet/Vue2Leaflet/commits?author=bezany\" title=\"Code\"\u003e💻\u003c/a\u003e\u003c/td\u003e\n    \u003ctd align=\"center\"\u003e\u003ca href=\"https://github.com/mikeu\"\u003e\u003cimg src=\"https://avatars3.githubusercontent.com/u/605493?v=4\" width=\"100px;\" alt=\"\"/\u003e\u003cbr /\u003e\u003csub\u003e\u003cb\u003eMichael Underwood\u003c/b\u003e\u003c/sub\u003e\u003c/a\u003e\u003cbr /\u003e\u003ca href=\"https://github.com/vue-leaflet/Vue2Leaflet/commits?author=mikeu\" title=\"Code\"\u003e💻\u003c/a\u003e\u003c/td\u003e\n    \u003ctd align=\"center\"\u003e\u003ca href=\"https://github.com/byWulf\"\u003e\u003cimg src=\"https://avatars1.githubusercontent.com/u/135651?v=4\" width=\"100px;\" alt=\"\"/\u003e\u003cbr /\u003e\u003csub\u003e\u003cb\u003eMichael Wolf\u003c/b\u003e\u003c/sub\u003e\u003c/a\u003e\u003cbr /\u003e\u003ca href=\"https://github.com/vue-leaflet/Vue2Leaflet/commits?author=byWulf\" title=\"Code\"\u003e💻\u003c/a\u003e\u003c/td\u003e\n    \u003ctd align=\"center\"\u003e\u003ca href=\"http://zuck.github.io/\"\u003e\u003cimg src=\"https://avatars1.githubusercontent.com/u/1370938?v=4\" width=\"100px;\" alt=\"\"/\u003e\u003cbr /\u003e\u003csub\u003e\u003cb\u003eEmanuele Bertoldi\u003c/b\u003e\u003c/sub\u003e\u003c/a\u003e\u003cbr /\u003e\u003ca href=\"https://github.com/vue-leaflet/Vue2Leaflet/commits?author=zuck\" title=\"Code\"\u003e💻\u003c/a\u003e\u003c/td\u003e\n    \u003ctd align=\"center\"\u003e\u003ca href=\"https://github.com/javiertury\"\u003e\u003cimg src=\"https://avatars3.githubusercontent.com/u/1520320?v=4\" width=\"100px;\" alt=\"\"/\u003e\u003cbr /\u003e\u003csub\u003e\u003cb\u003ejaviertury\u003c/b\u003e\u003c/sub\u003e\u003c/a\u003e\u003cbr /\u003e\u003ca href=\"https://github.com/vue-leaflet/Vue2Leaflet/commits?author=javiertury\" title=\"Code\"\u003e💻\u003c/a\u003e\u003c/td\u003e\n  \u003c/tr\u003e\n  \u003ctr\u003e\n    \u003ctd align=\"center\"\u003e\u003ca href=\"https://twitter.com/jericopulvera\"\u003e\u003cimg src=\"https://avatars0.githubusercontent.com/u/23246308?v=4\" width=\"100px;\" alt=\"\"/\u003e\u003cbr /\u003e\u003csub\u003e\u003cb\u003eECO\u003c/b\u003e\u003c/sub\u003e\u003c/a\u003e\u003cbr /\u003e\u003ca href=\"https://github.com/vue-leaflet/Vue2Leaflet/commits?author=jericopulvera\" title=\"Code\"\u003e💻\u003c/a\u003e\u003c/td\u003e\n    \u003ctd align=\"center\"\u003e\u003ca href=\"https://github.com/udos\"\u003e\u003cimg src=\"https://avatars3.githubusercontent.com/u/141107?v=4\" width=\"100px;\" alt=\"\"/\u003e\u003cbr /\u003e\u003csub\u003e\u003cb\u003eUdo Schochtert\u003c/b\u003e\u003c/sub\u003e\u003c/a\u003e\u003cbr /\u003e\u003ca href=\"https://github.com/vue-leaflet/Vue2Leaflet/issues?q=author%3Audos\" title=\"Bug reports\"\u003e🐛\u003c/a\u003e\u003c/td\u003e\n    \u003ctd align=\"center\"\u003e\u003ca href=\"https://github.com/maratumba\"\u003e\u003cimg src=\"https://avatars2.githubusercontent.com/u/2898911?v=4\" width=\"100px;\" alt=\"\"/\u003e\u003cbr /\u003e\u003csub\u003e\u003cb\u003eYaman Ozakin\u003c/b\u003e\u003c/sub\u003e\u003c/a\u003e\u003cbr /\u003e\u003ca href=\"https://github.com/vue-leaflet/Vue2Leaflet/issues?q=author%3Amaratumba\" title=\"Bug reports\"\u003e🐛\u003c/a\u003e\u003c/td\u003e\n    \u003ctd align=\"center\"\u003e\u003ca href=\"https://terra-azure.org\"\u003e\u003cimg src=\"https://avatars0.githubusercontent.com/u/682269?v=4\" width=\"100px;\" alt=\"\"/\u003e\u003cbr /\u003e\u003csub\u003e\u003cb\u003eAndre-John Mas\u003c/b\u003e\u003c/sub\u003e\u003c/a\u003e\u003cbr /\u003e\u003ca href=\"https://github.com/vue-leaflet/Vue2Leaflet/commits?author=ajmas\" title=\"Documentation\"\u003e📖\u003c/a\u003e \u003ca href=\"https://github.com/vue-leaflet/Vue2Leaflet/commits?author=ajmas\" title=\"Code\"\u003e💻\u003c/a\u003e\u003c/td\u003e\n    \u003ctd align=\"center\"\u003e\u003ca href=\"https://github.com/geopic\"\u003e\u003cimg src=\"https://avatars0.githubusercontent.com/u/29524044?v=4\" width=\"100px;\" alt=\"\"/\u003e\u003cbr /\u003e\u003csub\u003e\u003cb\u003eGeorge Pickering\u003c/b\u003e\u003c/sub\u003e\u003c/a\u003e\u003cbr /\u003e\u003ca href=\"https://github.com/vue-leaflet/Vue2Leaflet/commits?author=geopic\" title=\"Documentation\"\u003e📖\u003c/a\u003e\u003c/td\u003e\n    \u003ctd align=\"center\"\u003e\u003ca href=\"https://github.com/Machine-Maker\"\u003e\u003cimg src=\"https://avatars2.githubusercontent.com/u/15055071?v=4\" width=\"100px;\" alt=\"\"/\u003e\u003cbr /\u003e\u003csub\u003e\u003cb\u003eJake Potrebic\u003c/b\u003e\u003c/sub\u003e\u003c/a\u003e\u003cbr /\u003e\u003ca href=\"https://github.com/vue-leaflet/Vue2Leaflet/commits?author=Machine-Maker\" title=\"Code\"\u003e💻\u003c/a\u003e\u003c/td\u003e\n    \u003ctd align=\"center\"\u003e\u003ca href=\"https://github.com/itanka9\"\u003e\u003cimg src=\"https://avatars3.githubusercontent.com/u/17390418?v=4\" width=\"100px;\" alt=\"\"/\u003e\u003cbr /\u003e\u003csub\u003e\u003cb\u003eitanka9\u003c/b\u003e\u003c/sub\u003e\u003c/a\u003e\u003cbr /\u003e\u003ca href=\"https://github.com/vue-leaflet/Vue2Leaflet/commits?author=itanka9\" title=\"Documentation\"\u003e📖\u003c/a\u003e \u003ca href=\"https://github.com/vue-leaflet/Vue2Leaflet/commits?author=itanka9\" title=\"Code\"\u003e💻\u003c/a\u003e\u003c/td\u003e\n  \u003c/tr\u003e\n  \u003ctr\u003e\n    \u003ctd align=\"center\"\u003e\u003ca href=\"https://github.com/bravik\"\u003e\u003cimg src=\"https://avatars0.githubusercontent.com/u/1075618?v=4\" width=\"100px;\" alt=\"\"/\u003e\u003cbr /\u003e\u003csub\u003e\u003cb\u003ebravik\u003c/b\u003e\u003c/sub\u003e\u003c/a\u003e\u003cbr /\u003e\u003ca href=\"https://github.com/vue-leaflet/Vue2Leaflet/commits?author=bravik\" title=\"Documentation\"\u003e📖\u003c/a\u003e\u003c/td\u003e\n    \u003ctd align=\"center\"\u003e\u003ca href=\"https://github.com/pgrimaud\"\u003e\u003cimg src=\"https://avatars1.githubusercontent.com/u/1866496?v=4\" width=\"100px;\" alt=\"\"/\u003e\u003cbr /\u003e\u003csub\u003e\u003cb\u003ePierre Grimaud\u003c/b\u003e\u003c/sub\u003e\u003c/a\u003e\u003cbr /\u003e\u003ca href=\"https://github.com/vue-leaflet/Vue2Leaflet/commits?author=pgrimaud\" title=\"Documentation\"\u003e📖\u003c/a\u003e\u003c/td\u003e\n    \u003ctd align=\"center\"\u003e\u003ca href=\"https://github.com/andi23rosca\"\u003e\u003cimg src=\"https://avatars2.githubusercontent.com/u/7364627?v=4\" width=\"100px;\" alt=\"\"/\u003e\u003cbr /\u003e\u003csub\u003e\u003cb\u003eAndrei Rosca\u003c/b\u003e\u003c/sub\u003e\u003c/a\u003e\u003cbr /\u003e\u003ca href=\"https://github.com/vue-leaflet/Vue2Leaflet/commits?author=andi23rosca\" title=\"Code\"\u003e💻\u003c/a\u003e\u003c/td\u003e\n  \u003c/tr\u003e\n\u003c/table\u003e\n\n\u003c!-- markdownlint-enable --\u003e\n\u003c!-- prettier-ignore-end --\u003e\n\u003c!-- ALL-CONTRIBUTORS-LIST:END --\u003e\n\n\u003e If you believe you should be on this list please add yourself by typing this on a PR or issue: `@all-contributors please add @yourNickname for X` where X is one of [all-contributors emojoi keys](https://allcontributors.org/docs/en/emoji-key)\n\nAnd all [the rest who contributed](https://github.com/vue-leaflet/Vue2Leaflet/contributors)\n\n## License\n\nThis project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvue-leaflet%2Fvue2leaflet","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvue-leaflet%2Fvue2leaflet","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvue-leaflet%2Fvue2leaflet/lists"}