Skip to main content

WebMercatorPoint

A position in Web Mercator (EPSG:3857), in metres.

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

Signature​

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

interface WebMercatorPoint

Properties​

x​

readonly x: number;

The distance from the left edge of the world, in pixels at the zoom it was made for.

y​

readonly y: number;

The distance from the top edge of the world, in pixels at the zoom it was made for.

Source: packages/core/src/geometry/mercator.ts:17