# LayerIdentifyRequest

What [`LayerSource`](https://docs.mapcairn.com/api/core/LayerSource.md) needs.

This is an interface exported by `@mapcairn/core`, checked against version 0.2.0.

## Signature

```ts
import type { LayerIdentifyRequest } from "@mapcairn/core";
 
interface LayerIdentifyRequest
```

## Properties

### at

```ts
readonly at: IdentifyTarget;
```

Where the tap landed.

### controls

```ts
readonly controls: ControlValues;
```

Every control's value, already resolved (see `resolveControlValues`).

### definition

```ts
readonly definition: IdentifiableLayerDefinition;
```

A tile layer with an `identify` block.

### now

```ts
readonly now: number;
```

Today, as epoch milliseconds, for relative dates.

### signal

```ts
readonly signal?: AbortSignal;
```

Cancels the request. It then rejects with an `aborted` error.

## See also

- [`IdentifyTarget`](https://docs.mapcairn.com/api/core/IdentifyTarget.md)
- [`ControlValues`](https://docs.mapcairn.com/api/core/ControlValues.md)
- [`IdentifiableLayerDefinition`](https://docs.mapcairn.com/api/core/IdentifiableLayerDefinition.md)

Source: [packages/core/src/ports/layers.ts:81](https://github.com/MapCairn/mapcairn/blob/main/packages/core/src/ports/layers.ts#L81)
