# markerclustererplus-node

> The following files have been deprecated and will be removed in the next release: * [src/markerclusterer.min.js](https://github.com/mahnunchik/markerclustererplus/blob/master/src/markerclusterer.min.js) * [src/markerclusterer_packed.js](https://github.c

Latest version **1.2.2** (published 2018-07-10) · Apache-2.0 license · 0 weekly downloads

## Install

```sh
npm install markerclustererplus-node
pnpm add markerclustererplus-node
yarn add markerclustererplus-node
bun add markerclustererplus-node
```

## Health

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

Positive: has types; no vulnerabilities.

Warnings: low downloads; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.2.2 |
| Published | 2018-07-10 |
| First published | 2018-02-08 |
| Weekly downloads | 0 |
| License | Apache-2.0 |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 1 |
| Unpacked size | 753.2 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Maintainers | santi4488 |
| Keywords | markerclustererplus, google, maps |

## Links

- npm: https://www.npmjs.com/package/markerclustererplus-node
- Repository: https://github.com/santi4488/markerclustererplus-node
- Homepage: https://github.com/santi4488/markerclustererplus-node#readme
- Issues: https://github.com/santi4488/markerclustererplus-node/issues
- npm.io page: https://npm.io/package/markerclustererplus-node

## Dependencies (1)

- [@types/google-maps](https://npm.io/package/@types/google-maps.md) ^3.2.0

## Alternatives

- [jsforce](https://npm.io/package/jsforce.md) — 851.2K weekly downloads
- [react-native-qrcode-svg](https://npm.io/package/react-native-qrcode-svg.md) — 693.5K weekly downloads
- [@salesforce/plugin-data](https://npm.io/package/@salesforce/plugin-data.md) — 394.9K weekly downloads
- [@backstage/plugin-search-common](https://npm.io/package/@backstage/plugin-search-common.md) — 308.5K weekly downloads
- [@chain-registry/types](https://npm.io/package/@chain-registry/types.md) — 38.4K weekly downloads

## Recent versions

- 1.2.2 (latest) — 2018-07-10
- 1.2.1 — 2018-02-09
- 1.2.0 — 2018-02-08
- 1.1.2 — 2018-02-08
- 1.1.1 — 2018-02-08
- 1.1.0 — 2018-02-08
- 1.0.4 — 2018-02-08
- 1.0.3 — 2018-02-08
- 1.0.2 — 2018-02-08
- 1.0.1 — 2018-02-08
- 1.0.0 — 2018-02-08

## README

# MarkerClustererPlus

## Warning!

The following files have been deprecated and will be removed in the next release:
* [src/markerclusterer.min.js](https://github.com/mahnunchik/markerclustererplus/blob/master/src/markerclusterer.min.js)
* [src/markerclusterer_packed.js](https://github.com/mahnunchik/markerclustererplus/blob/master/src/markerclusterer_packed.js)

Use [dist/markerclusterer.min.js](https://github.com/mahnunchik/markerclustererplus/blob/master/dist/markerclusterer.min.js) instead.

---

This is an enhanced version of the MarkerClusterer library for managing large amounts of markers. It adds support for several new properties as well as support for four more events. It also allows greater control over the styling of the text that appears on the cluster marker. The documentation has been significantly improved and the overall code has been simplified and polished. Very large numbers of markers can now be managed without causing Javascript timeout errors on Internet Explorer. It is backward compatible with MarkerClusterer.

This is git version of the [google svn repo](http://google-maps-utility-library-v3.googlecode.com/svn/trunk/markerclustererplus/).

**This version allows es5 and es6 imports.**

### Installation

Install with [npm](https://www.npmjs.com/).

```bash
$ npm install markerclustererplus-node --save
```

### Usage

If using Angular 2+
```typescript
import MarkerClusterer = require('markerclustererplus-node');

let markers = [
  new google.maps.Marker()
]
// map = google map instance

let clusterer = new MarkerClusterer(map, [], options);
```

You can also use type MarkerClustererOptions
```typescript
import MarkerClusterer = require('markerclustererplus-node');

let clusterOptions: MarkerClustererOptions = {
  gridSize: 20,
  maxZoom: 10,
  zoomOnClick: true
}
let markers = [
  new google.maps.Marker()
]
// map = google map instance
let clusterer = new MarkerClusterer(map, markers, clusterOptions);
```

### Additional Features

* hideLabel option - removes numbers on the clusters

### Build

To rebuild a minified version of the library try the following commands:

```bash
$ npm install
$ npm run build
```

### License

[Apache License, Version 2.0](http://opensource.org/licenses/Apache-2.0)

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