Skip to main content

LayerIdentifyRequest

What LayerSource needs.

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

Signature​

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

interface LayerIdentifyRequest

Properties​

at​

readonly at: IdentifyTarget;

Where the tap landed.

controls​

readonly controls: ControlValues;

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

definition​

readonly definition: IdentifiableLayerDefinition;

A tile layer with an identify block.

now​

readonly now: number;

Today, as epoch milliseconds, for relative dates.

signal​

readonly signal?: AbortSignal;

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

See also​

Source: packages/core/src/ports/layers.ts:81