vue-maplibre-gl
Advanced tools
Comparing version 2.0.0-alpha.6 to 2.0.0
/*! | ||
* vue-maplibre-gl v2.0.0-alpha.6 | ||
* vue-maplibre-gl v2.0.0 | ||
* (c) 2023 Volker Nauruhn | ||
@@ -4,0 +4,0 @@ * @license MIT |
/*! | ||
* vue-maplibre-gl v2.0.0-alpha.6 | ||
* vue-maplibre-gl v2.0.0 | ||
* (c) 2023 Volker Nauruhn | ||
@@ -4,0 +4,0 @@ * @license MIT |
{ | ||
"name": "vue-maplibre-gl", | ||
"version": "2.0.0-alpha.6", | ||
"version": "2.0.0", | ||
"description": "Vue 3 plugin for maplibre-gl", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
@@ -5,12 +5,14 @@ # vue-maplibre-gl | ||
[![TypeScript](https://img.shields.io/badge/-Typescript-informational?style=flat-square)](https://www.typescriptlang.org/) | ||
[![vue2](https://img.shields.io/badge/vue-3.x-brightgreen.svg?style=flat-square)](https://vuejs.org/) | ||
[![vue3](https://img.shields.io/badge/vue-3.x-brightgreen.svg?style=flat-square)](https://vuejs.org/) | ||
[![MaplibreGL-JS](https://img.shields.io/badge/Maplibre%20GL%20JS-v2.x-brightgreen?style=flat-square)](https://maplibre.org/projects/maplibre-gl-js/) | ||
A vue plugin for [maplibre-gl-js](https://github.com/maplibre/maplibre-gl-js). Only additional dependency is [mitt](https://github.com/developit/mitt). | ||
A small vue 3 plugin for [maplibre-gl-js](https://github.com/maplibre/maplibre-gl-js). Only additional dependency is [mitt](https://github.com/developit/mitt). | ||
Size: [36 KB](https://bundlephobia.com/package/vue-maplibre-gl) | ||
Size: [9 KB gzipped](https://bundlephobia.com/package/vue-maplibre-gl) | ||
## Features | ||
- Supports MapLibre GL JS v2.x | ||
- Typescript support | ||
- Components for map, controls, sources, marker and layers | ||
- Components for map, controls, sources, markers and layers | ||
- Support for custom controls | ||
@@ -20,2 +22,3 @@ - Customizable style switch which reloads sources and layers automatically | ||
- Support for multiple instances and global access by `useMap(key: string | symbol)` | ||
- Small size | ||
@@ -30,3 +33,3 @@ ## Table of contents | ||
```shell | ||
yarn add vue-maplibre-gl maplibre-gl | ||
yarn add vue-maplibre-gl maplibre-gl mitt | ||
``` | ||
@@ -44,6 +47,6 @@ | ||
Add SCSS: | ||
Add CSS: | ||
```scss | ||
@import "~vue-maplibre-gl/src/css/maplibre"; | ||
@import "~vue-maplibre-gl/dist/vue-maplibre-gl.css"; | ||
``` | ||
@@ -85,3 +88,3 @@ | ||
yarn | ||
yarn serve | ||
yarn dev | ||
``` | ||
@@ -95,3 +98,2 @@ | ||
- [ ] Generate separate css file to be included (currently, you have to use scss) | ||
- [ ] Usage examples | ||
@@ -98,0 +100,0 @@ - [ ] Demo |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
533314
2
104