--- layout: example.html title: WebGL points layer shortdesc: Using a WebGL-optimized layer to render a large quantities of points docs: >

This example shows how to use a `WebGLPointsLayer` to show a large amount of points on the map.

The layer is given a style in JSON format which allows a certain level of customization of the final reprensentation.

The following operators can be used for numerical values:

- `["get", "attributeName"]` fetches a numeric attribute value for each feature
- `["+", value, value]` adds two values (which an either be numeric, or the result of another operator)
- `["*", value, value]` multiplies two values
- `["clamp", value, min, max]` outputs a value between `min` and `max`
- `["stretch", value, low1, high1, low2, high2]` outputs a value which has been mapped from the `low1..high1` range to the `low2..high2` range

tags: "webgl, point, layer, feature" experimental: true ---
Choose a predefined style from the list below or edit it as JSON manually.
✓ style is valid ✗ style not yet valid...