MapObjectOptions
MapObjectOptions<
Placement,Fields> =MapObjectCommonOptions<Fields> &object&PlacementextendsLine?object:object&PlacementextendsPoint?object:object
What defineMapObject takes, by the object’s placement.
Type Declaration
Section titled “Type Declaration”| Name | Type | Description |
|---|---|---|
build() |
(context) => MapObjectBuildResult |
What the entity stands with, built on every end from the entry alone, with no mesh: a room and a headless run build it too. |
placement? |
Placement |
|
view? |
ComponentType<MapObjectViewProps<Fields, Placement>> |
How the object draws on a page; a room never mounts it. |
Type Parameters
Section titled “Type Parameters”| Type Parameter |
|---|
Placement extends MapObjectPlacement |
Fields extends MapObjectFields |