# vm-leaflet-icons

> VM icons for leaflet.js

Latest version **0.1.0** (published 2017-04-07) · GPL-3.0 license · 0 weekly downloads

## Install

```sh
npm install vm-leaflet-icons
pnpm add vm-leaflet-icons
yarn add vm-leaflet-icons
bun add vm-leaflet-icons
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.1.0 |
| Published | 2017-04-07 |
| First published | 2015-09-26 |
| Weekly downloads | 0 |
| License | GPL-3.0 |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Markus Kohlhase |
| Maintainers | flosse |
| Keywords | leaflet, icon, vm |

## Links

- npm: https://www.npmjs.com/package/vm-leaflet-icons
- Repository: https://github.com/flosse/vm-leaflet-icons
- Homepage: https://github.com/flosse/vm-leaflet-icons#readme
- Issues: https://github.com/flosse/vm-leaflet-icons/issues
- npm.io page: https://npm.io/package/vm-leaflet-icons

## Dependencies (1)

- [leaflet](https://npm.io/package/leaflet.md) ^1.0.0

## Alternatives

- [@fortawesome/react-fontawesome](https://npm.io/package/@fortawesome/react-fontawesome.md) — 2.2M weekly downloads
- [roboto-fontface](https://npm.io/package/roboto-fontface.md) — 196.0K weekly downloads
- [@react-native-vector-icons/common](https://npm.io/package/@react-native-vector-icons/common.md) — 150.4K weekly downloads
- [@procore/core-icons](https://npm.io/package/@procore/core-icons.md) — 4.6K weekly downloads
- [@react-md/material-icons](https://npm.io/package/@react-md/material-icons.md) — 1.6K weekly downloads

## Recent versions

- 0.1.0 (latest) — 2017-04-07
- 0.0.5 — 2015-12-04
- 0.0.4 — 2015-11-02
- 0.0.3 — 2015-09-29
- 0.0.2 — 2015-09-29
- 0.0.1 — 2015-09-26

## README

# VM icons for leaflet

[![NPM version](https://badge.fury.io/js/vm-leaflet-icons.svg)](http://badge.fury.io/js/vm-leaflet-icons)

## Usage

```js
import L                  from "leaflet";
import create, { icons }  from "vm-leaflet-icons";

// ...

// create a gray icon
var default = create();

// create a icon for the 'company' category
var company = create({category:'company'});

// create a icon with shadow
var shadowed = create({category: 'event', shadow:true});

// use deafult icons
L.marker([51.5, -0.09], { icon: icons.company }).addTo(map);

// ...
```

---
_Source: https://npm.io/package/vm-leaflet-icons · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
