Combine powers of Vue and Mapbox GL JS (v3.x) & MaplibreGL (v4.x) 🗺
V-Mapbox is wrapper around Mapbox GL JS for >v1.x to <=v3.x & Maplibre GL JS for > v4.x library that provides vueish-way to interact with the map.
# For Vue 2
$ npm i v-mapbox@legacy
# For Vue 3
$ npm i v-mapbox
git clone git@github.com:vinayakkulkarni/v-mapbox.git
cd v-mapbox
npm install
Running in dev mode:
npm run serve
Build for production:
npm run build
Start documentation site in development mode:
npm run docs:dev
Build documentation:
npm run docs:build
Inspired by KoRiGaN's Vue2Leaflet.
- Fork it (https://github.com/vinayakkulkarni/v-mapbox/fork)
- Create your feature branch (
git checkout -b feat/new-feature
) - Commit your changes (
git commit -Sam 'feat: add feature'
) - Push to the branch (
git push origin feat/new-feature
) - Create a new Pull Request
Note:
- Please contribute using GitHub Flow
- Commits & PRs will be allowed only if the commit messages & PR titles follow the conventional commit standard, read more about it here
- PS. Ensure your commits are signed. Read why
v-mapbox © Vinayak, Released under the MIT License.
Authored and maintained by Vinayak Kulkarni with help from contributors (list).
vinayakkulkarni.dev · GitHub @vinayakkulkarni · Twitter @_vinayak_k
MIT