Skip to main content

VisibleMap

The map on screen, which a request falls back to where it names no size or view.

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

Signature​

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

interface VisibleMap

Properties​

size​

readonly size: MapImageSize;

The map's size in CSS pixels.

view​

readonly view: ViewState;

The view the map shows.

See also​

Source: packages/core/src/imageExport/plan.ts:38