Skip to main content

DEFAULT_IDENTIFY_TOLERANCE_PX

How far from a tap, in CSS pixels, a layer looks when its definition says nothing: a box a little under a fingertip.

This is a constant exported by @mapcairn/core, checked against version 0.2.0.

Signature​

import { DEFAULT_IDENTIFY_TOLERANCE_PX } from "@mapcairn/core";

DEFAULT_IDENTIFY_TOLERANCE_PX = 12

Source: packages/core/src/layers/identify.ts:21