# XWUINav

Viewport navigation overlay (zoom / pan / rotate / search) for canvases and 3D scenes.

## Basic Usage

2D viewport with pan + zoom controls.

```example
file: examples/BasicUsage.ts
html: examples/BasicUsage.html
title: Basic Usage
description: 2D viewport with pan + zoom controls.
```

## With 3D

3D viewport with rotation, keyboard navigation.

```example
file: examples/With3D.ts
html: examples/With3D.html
title: With 3D
description: 3D viewport with rotation, keyboard navigation.
```

## Searchable Floorplan

A 2D map with the search box enabled and a handler that jumps to named rooms.

```example
file: examples/SearchableMap.ts
html: examples/SearchableMap.html
title: Searchable Floorplan
description: enableSearch with a searchHandler that recentres the viewport.
```

## Zoomed-In Tiles

Opens at 2× zoom with controls top-left, touch on, and tuned pan/zoom steps.

```example
file: examples/TopLeftControls.ts
html: examples/TopLeftControls.html
title: Zoomed-In Tiles
description: Initial scale, top-left controls, touch and custom pan/zoom.
```

```api
```
