Skip to content

Interface: AtlasPlateViewOptions ​

Defined in: atlas/AtlasPlateView.ts:25

Extends ​

Properties ​

colors? ​

ts
colors?: ReadonlyMap<number, string>;

Defined in: atlas/AtlasPlateView.ts:8

Omitted IDs use defaultColor. Colors are #RGB or #RRGGBB.

Inherited from ​

AtlasPlateStyle.colors


defaultColor? ​

ts
defaultColor?: string;

Defined in: atlas/AtlasPlateView.ts:9

Inherited from ​

AtlasPlateStyle.defaultColor


background? ​

ts
background?: string;

Defined in: atlas/AtlasPlateView.ts:10

Inherited from ​

AtlasPlateStyle.background


dashed? ​

ts
dashed?: boolean;

Defined in: atlas/AtlasPlateView.ts:11

Inherited from ​

AtlasPlateStyle.dashed


boundaryColor? ​

ts
boundaryColor?: string;

Defined in: atlas/AtlasPlateView.ts:13

Parcel boundaries; all widths are in SVG units.

Inherited from ​

AtlasPlateStyle.boundaryColor


boundaryWidth? ​

ts
boundaryWidth?: number;

Defined in: atlas/AtlasPlateView.ts:14

Inherited from ​

AtlasPlateStyle.boundaryWidth


boundaryOpacity? ​

ts
boundaryOpacity?: number;

Defined in: atlas/AtlasPlateView.ts:15

Inherited from ​

AtlasPlateStyle.boundaryOpacity


boundaryHaloWidth? ​

ts
boundaryHaloWidth?: number;

Defined in: atlas/AtlasPlateView.ts:17

Optional background-colored band under borders; default 0 (no halo).

Inherited from ​

AtlasPlateStyle.boundaryHaloWidth


groupBoundaryWidth? ​

ts
groupBoundaryWidth?: number;

Defined in: atlas/AtlasPlateView.ts:19

Extra emphasis for boundaries between parcelGroups; 0 disables it.

Inherited from ​

AtlasPlateStyle.groupBoundaryWidth


outlineWidth? ​

ts
outlineWidth?: number;

Defined in: atlas/AtlasPlateView.ts:20

Inherited from ​

AtlasPlateStyle.outlineWidth


labelsVisible? ​

ts
labelsVisible?: boolean;

Defined in: atlas/AtlasPlateView.ts:21

Inherited from ​

AtlasPlateStyle.labelsVisible


selectedParcelId? ​

ts
selectedParcelId?: number | null;

Defined in: atlas/AtlasPlateView.ts:22

Inherited from ​

AtlasPlateStyle.selectedParcelId


onParcelClick? ​

ts
onParcelClick?: (parcelId) => void;

Defined in: atlas/AtlasPlateView.ts:26

Parameters ​

parcelId ​

number

Returns ​

void


editableLabels? ​

ts
editableLabels?: boolean;

Defined in: atlas/AtlasPlateView.ts:27


adaptiveLabels? ​

ts
adaptiveLabels?: boolean;

Defined in: atlas/AtlasPlateView.ts:28


minInspectionFontSize? ​

ts
minInspectionFontSize?: number;

Defined in: atlas/AtlasPlateView.ts:31

Minimum label size in CSS pixels while zoomed (default 12; 0 disables). Density adapts to available space; the unzoomed composition stays fixed.


onLayoutChange? ​

ts
onLayoutChange?: (layout) => void;

Defined in: atlas/AtlasPlateView.ts:32

Parameters ​

layout ​

AtlasPlateLayout

Returns ​

void


onViewportChange? ​

ts
onViewportChange?: (viewport) => void;

Defined in: atlas/AtlasPlateView.ts:33

Parameters ​

viewport ​

AtlasViewport

Returns ​

void


onInteractionError? ​

ts
onInteractionError?: (error) => void;

Defined in: atlas/AtlasPlateView.ts:34

Parameters ​

error ​

Error

Returns ​

void

Released under the MIT License.