Skip to main content

LayerDetailRequest

What LayerSource needs.

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

Signature​

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

interface LayerDetailRequest

Properties​

definition​

readonly definition: LayerDefinition;

The layer whose detail is wanted.

feature​

readonly feature: LayerFeature;

The feature whose detail (such as an affected area) is wanted.

signal​

readonly signal?: AbortSignal;

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

See also​

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