Skip to content

Interface: AtlasPlateViewOptions ​

Defined in: atlas/AtlasPlateView.ts:25

Extends ​

Properties ​

colors? ​

ts
optional 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
optional defaultColor?: string;

Defined in: atlas/AtlasPlateView.ts:9

Inherited from ​

AtlasPlateStyle.defaultColor


background? ​

ts
optional background?: string;

Defined in: atlas/AtlasPlateView.ts:10

Inherited from ​

AtlasPlateStyle.background


dashed? ​

ts
optional dashed?: boolean;

Defined in: atlas/AtlasPlateView.ts:11

Inherited from ​

AtlasPlateStyle.dashed


boundaryColor? ​

ts
optional boundaryColor?: string;

Defined in: atlas/AtlasPlateView.ts:13

Parcel boundaries; all widths are in SVG units.

Inherited from ​

AtlasPlateStyle.boundaryColor


boundaryWidth? ​

ts
optional boundaryWidth?: number;

Defined in: atlas/AtlasPlateView.ts:14

Inherited from ​

AtlasPlateStyle.boundaryWidth


boundaryOpacity? ​

ts
optional boundaryOpacity?: number;

Defined in: atlas/AtlasPlateView.ts:15

Inherited from ​

AtlasPlateStyle.boundaryOpacity


boundaryHaloWidth? ​

ts
optional boundaryHaloWidth?: number;

Defined in: atlas/AtlasPlateView.ts:17

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

Inherited from ​

AtlasPlateStyle.boundaryHaloWidth


groupBoundaryWidth? ​

ts
optional groupBoundaryWidth?: number;

Defined in: atlas/AtlasPlateView.ts:19

Extra emphasis for boundaries between parcelGroups; 0 disables it.

Inherited from ​

AtlasPlateStyle.groupBoundaryWidth


outlineWidth? ​

ts
optional outlineWidth?: number;

Defined in: atlas/AtlasPlateView.ts:20

Inherited from ​

AtlasPlateStyle.outlineWidth


labelsVisible? ​

ts
optional labelsVisible?: boolean;

Defined in: atlas/AtlasPlateView.ts:21

Inherited from ​

AtlasPlateStyle.labelsVisible


selectedParcelId? ​

ts
optional selectedParcelId?: number | null;

Defined in: atlas/AtlasPlateView.ts:22

Inherited from ​

AtlasPlateStyle.selectedParcelId


onParcelClick? ​

ts
optional onParcelClick?: (parcelId) => void;

Defined in: atlas/AtlasPlateView.ts:26

Parameters ​

parcelId ​

number

Returns ​

void


editableLabels? ​

ts
optional editableLabels?: boolean;

Defined in: atlas/AtlasPlateView.ts:27


adaptiveLabels? ​

ts
optional adaptiveLabels?: boolean;

Defined in: atlas/AtlasPlateView.ts:28


minInspectionFontSize? ​

ts
optional 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
optional onLayoutChange?: (layout) => void;

Defined in: atlas/AtlasPlateView.ts:32

Parameters ​

layout ​

AtlasPlateLayout

Returns ​

void


onViewportChange? ​

ts
optional onViewportChange?: (viewport) => void;

Defined in: atlas/AtlasPlateView.ts:33

Parameters ​

viewport ​

AtlasViewport

Returns ​

void


onInteractionError? ​

ts
optional onInteractionError?: (error) => void;

Defined in: atlas/AtlasPlateView.ts:34

Parameters ​

error ​

Error

Returns ​

void

Released under the MIT License.