Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/brandonxiang/vueleaflet
Vue components for Leaflet maps
https://github.com/brandonxiang/vueleaflet
components leaflet-map vite vitejs vue vue-components vue-leaflet
Last synced: 5 days ago
JSON representation
Vue components for Leaflet maps
- Host: GitHub
- URL: https://github.com/brandonxiang/vueleaflet
- Owner: brandonxiang
- License: mit
- Created: 2016-04-28T09:43:05.000Z (over 8 years ago)
- Default Branch: next
- Last Pushed: 2023-12-06T02:07:52.000Z (about 1 year ago)
- Last Synced: 2024-11-30T03:12:58.599Z (23 days ago)
- Topics: components, leaflet-map, vite, vitejs, vue, vue-components, vue-leaflet
- Language: Vue
- Homepage: https://vueleaflet.brandonxiang.top
- Size: 2.19 MB
- Stars: 191
- Watchers: 14
- Forks: 45
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# vue-leaflet
Here is Vue components for Leaflet maps, which is inspired by [react-leaflet](https://github.com/PaulLeCam/react-leaflet) and [vue-google-maps](https://github.com/GuillaumeLeclerc/vue-google-maps).
> A vue component for leaflet.js
This library is compatible with vue 3.0, and leaflet 1.9.x.
## Installation
```bash
npm install vueleaflet vue leaflet -save
```## Startup
You can input some Vue-styled components in a .vue file in order to use leaflet.js, like [Layout.vue](src/Layout.vue).
```html
```
## Build Setup
```bash
# serve the example
npm run dev# build the library
npm run build# build the example
npm run build: example```
## Contribute
PR Welcome
## License
[MIT](LICENSE)