PixelPoint
A pixel position relative to the top-left corner of the map host element.
This is an interface exported by @mapcairn/core, checked against version 0.2.0.
Signature
import type { PixelPoint } from "@mapcairn/core";
interface PixelPoint
Properties
x
readonly x: number;
Pixels from the left edge of the map.
y
readonly y: number;
Pixels from the top edge of the map.