Skip to main content

ContractPoint

A point the contract asks a source to return.

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

Signature​

import type { ContractPoint } from "@mapcairn/core/contracts";

interface ContractPoint

Properties​

id​

readonly id: string;

The point's id.

lat​

readonly lat: number;

Latitude in degrees.

lng​

readonly lng: number;

Longitude in degrees.

title​

readonly title: string;

The point's title.

Source: packages/core/src/contracts/layerSource.contract.ts:96