# XWUIGameMarkerSystem

Map marker manager. It places labeled pins from the `markers` array (each `id`, `x`, `y`, optional `icon`, `color`, `label`, `type`) and exposes a full add/remove/update API with typed pin variants (quest, poi, enemy, shop, custom). `conf_comp` caps the count with `maxMarkers` (default 50), sets the `defaultIcon` (`●`), and gates custom icons/colors via `allowCustom`. `addMarker(marker)`, `removeMarker(id)`, and `updateMarker(id, updates)` each return a success boolean; `updateData({ markers })` replaces the whole set.

## Basic Usage

Mounts the marker manager with its add/remove/update pin API.

```example
file: examples/BasicUsage.ts
html: examples/BasicUsage.html
title: Basic Usage
description: Mounts the marker system that places labeled, typed map pins via its add/remove/update API.
```

## Custom Pins

Enables `allowCustom` and a `defaultIcon`, then adds a pin without an icon so it inherits the default glyph.

```example
file: examples/CustomPins.ts
html: examples/CustomPins.html
title: Custom Pins
description: A marker layer with allowCustom on and a defaultIcon that new icon-less pins fall back to.
```

## Capped Set

Holds `maxMarkers` at 3 so a fourth addMarker() is rejected, with allowCustom off forcing the default icon.

```example
file: examples/CappedSet.ts
html: examples/CappedSet.html
title: Capped Set
description: A 3-marker cap where an extra addMarker() is refused and allowCustom forces the default icon.
```

```api
```
