# MVTIconGlyphs

class in `3d-tiles-renderer/three/plugins`, extends `MVTGlyphs`

```js
import { MVTIconGlyphs } from '3d-tiles-renderer/three/plugins';
```

Renders one icon glyph per point annotation. Each item's atlas key comes from `getKind`, or
`fallback` when that key isn't in the atlas.

## Constructor

```js
new MVTIconGlyphs( options?: Object )
```

- `options`, `Object`, optional
  - `getKind`, `MVTGetKindCallback`, optional: Chooses the atlas key to draw for each point.
  - `fallback`, `string | null`, optional, default `null`: Atlas key drawn when `getKind`'s result is
missing from the atlas; null draws nothing.
  - `size`, `number`, optional, default `18`: Glyph size in pixels.
  - `glyphSize`, `number`, optional: Atlas slot size in pixels (defaults to `18 * devicePixelRatio`).
  - `slotCount`, `number`, optional, default `64`: Initial atlas slot capacity.

## Properties

### .getKind: MVTGetKindCallback

Chooses the atlas key to draw for each point.

### .fallback: string | null

Atlas key used when `getKind`'s result isn't present in the atlas ( null draws nothing ).
