Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/hung4564/vue-library-map

A Vue.js component for Mapbox GL JS
https://github.com/hung4564/vue-library-map

javascript map mapbox-gl mapbox-gl-js vue vue2 vuejs2

Last synced: 1 day ago
JSON representation

A Vue.js component for Mapbox GL JS

Awesome Lists containing this project

README

        

Vue library map

# Vue library map

## Install

```
npm i @hungpv97/vue-library-map
```

```
yarn add @hungpv97/vue-library-map
```

## Usage

```vue










/* eslint-disable no-unused-vars */
import {
FullScreenControl,
MouseCoordinatesControl,
ZoomControl,
HomeControl,
GeoLocateControl,
BaseMapControl,
Map,
PrintControl
} from "@hungpv97/vue-library-draggable";
import "@hungpv97/vue-library-map/map.css";

export default {
name: "App",
components: {
FullScreenControl,
MouseCoordinatesControl,
ZoomControl,
HomeControl,
GeoLocateControl,
BaseMapControl,
Map,
PrintControl
}
};

* {
padding: 0;
margin: 0;
}

body,
html,
#app {
height: 100%;
}

```

## Components

## Contributing

Any contribution to the code or any part of the documentation and any idea and/or suggestion are very welcome.

```bash
# serve with hot reload at localhost:8080
npm run serve

# distribution build
npm run build

```

## Feature

- [] Style edit control
- [x] Line simple
- [x] Area simple
- [x] Point simple
- [] symbol simple
- [x] raster simple
- [] icon label for layer
- [] filter simple
- [x] option simple
- [x] image
- [] Base map control
- [x] Base map card
- [] Add base map
- [x] No base map
- [] add to layer list control?
- Edit data
- [x] Geojson edit simple
- [] Raster edit simple
- [] Vector edit simple
- [] Draw edit
- Vector data edit
- [x] Crs format
- [x] add Crs
- [x] setting center,zoom

## License

[MIT license](LICENSE)