Skip to main content

IdentifyTarget

Where a tap landed, for a tile layer's identify request.

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

Signature​

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

interface IdentifyTarget

Properties​

latlng​

readonly latlng: LatLng;

The tapped place, with longitude wrapped to -180 up to 180.

zoom​

readonly zoom: number;

The normalised zoom the map was at (see toNormalisedZoom).

See also​

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