Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/vihangan/vue-sl-map-nav
Srilanka District map component for vue.js
https://github.com/vihangan/vue-sl-map-nav
Last synced: 18 days ago
JSON representation
Srilanka District map component for vue.js
- Host: GitHub
- URL: https://github.com/vihangan/vue-sl-map-nav
- Owner: VihangaN
- Created: 2020-03-28T23:46:50.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2023-01-05T17:41:06.000Z (almost 2 years ago)
- Last Synced: 2024-10-07T04:23:00.351Z (about 1 month ago)
- Language: Vue
- Size: 326 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 26
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Srilanka district map component for vuejs
Srilanka District map component for vue.js
![preview](https://repository-images.githubusercontent.com/250916948/fb017f80-71ff-11ea-875a-d0f01120573d)
## Installation
`npm i vue-lkmap --save`
## Usage
```
import slmap from 'vue-lkmap'Vue.component('sl-map', slmap)
// or
new Vue({
el: 'body',
components: { slmap }
})```
```
```
## Use this order to pass districts values
```
Districts order1. Ampara
2. Anuradhapura
3. Badulla
4. Batticaloa
5. Colombo
6. Galle
7. Gampaha
8. Hambantota
9. Jaffna
10. Kalutara
11. Kandy
12. Kegalle
13. Kilinochchi
14. Kurunegala
15. Mannar
16. Matale
17. Matara
18. Monaragala
19. Mullaitivu
20. Nuwara Eliya
21. Polonnaruwa
22. Puttalam
23. Ratnapura
24. Trincomalee
25. Vavuniya