# ol-glmp

> A library for rendering massive data based on openlayer

Latest version **1.0.1** (published 2020-10-29) · ISC license · 0 weekly downloads

## Install

```sh
npm install ol-glmp
pnpm add ol-glmp
yarn add ol-glmp
bun add ol-glmp
```

## Health

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

Positive: no vulnerabilities.

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

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.1 |
| Published | 2020-10-29 |
| First published | 2020-10-28 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 98.5 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 1 |
| Author | Xu Tao |
| Maintainers | zztao |
| Keywords | node, webgl, polygon |

## Links

- npm: https://www.npmjs.com/package/ol-glmp
- Repository: https://github.com/qultelyTao/ol-glmp
- Homepage: https://github.com/qultelyTao/ol-glmp#readme
- Issues: https://github.com/qultelyTao/ol-glmp/issues
- npm.io page: https://npm.io/package/ol-glmp

## Alternatives

- [@expo/fingerprint](https://npm.io/package/@expo/fingerprint.md) — 6.2M weekly downloads
- [@azure/monitor-opentelemetry-exporter](https://npm.io/package/@azure/monitor-opentelemetry-exporter.md) — 850.0K weekly downloads
- [@azure/monitor-opentelemetry](https://npm.io/package/@azure/monitor-opentelemetry.md) — 624.0K weekly downloads
- [@posthog/ai](https://npm.io/package/@posthog/ai.md) — 423.3K weekly downloads
- [fakefilter](https://npm.io/package/fakefilter.md) — 63.9K weekly downloads

## Recent versions

- 1.0.1 (latest) — 2020-10-29
- 1.0.0 — 2020-10-28

## README

# ol-glmp

A library for rendering massive data based on openlayer


## Browser Support

![Chrome](https://raw.github.com/alrra/browser-logos/master/src/chrome/chrome_48x48.png) | ![Firefox](https://raw.github.com/alrra/browser-logos/master/src/firefox/firefox_48x48.png) | ![Safari](https://raw.github.com/alrra/browser-logos/master/src/safari/safari_48x48.png) | ![Opera](https://raw.github.com/alrra/browser-logos/master/src/opera/opera_48x48.png) | ![Edge](https://raw.github.com/alrra/browser-logos/master/src/edge/edge_48x48.png) | ![IE](https://raw.github.com/alrra/browser-logos/master/src/archive/internet-explorer_9-11/internet-explorer_9-11_48x48.png) |
--- | --- | --- | --- | --- | --- |
Latest ✔ | Latest ✔ | Latest ✔ | Latest ✔ | Latest ✔ | 11 ✔ |

[![Browser Matrix](https://saucelabs.com/open_sauce/build_matrix/axios.svg)](https://saucelabs.com/u/axios)

## Installing

Using npm:

```bash
npm install ol-glmp
```

## Example

Load a layer

```js
import WebGLayer from "ol-glmp/layer/WebGLPolygon";
import Webc from "ol-glmp/source/Webc";
let layer = new WebGLayer({
    source: new Webc(),
       style: {
        // color setting   '#fff' or 'rgb(255,255,255)' or 'rgba(255,255,255,1)'
         color: "#ff0000"
       }
    });
// Openlayer add layer   see  https://openlayers.org/
var vectorSource = new Webc({
    loader: function(extent, resolution, projection) {
      var proj = projection.getCode();
      vectorSource.addFeatures(
          //Geojson data
          vectorSource.getFormat().readFeatures( data  , {
              featureProjection: projection
            })
          );
        }
    });
layer.setSource(vectorSource);
map.addLayer(layer);

```

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