import { type IsometricMapProps } from "https://deno.land/x/react_isometric_tilemap@2.0.0/components/isometric-map.tsx";
Properties
The size of the tile. It represents the width of the horizontal diagonal and double the size of the vertical diagonal
readonly
optional
margin: { readonly top: number; readonly bottom: number; readonly left: number; readonly right: number; }The margin of the tile, this margins are extra space drawed by the tiles than you can use to apply some details into the tile, and make maps look less squared
readonly
optional
onMouseAction: (event: IsometricMapEvent<IsometricMapProps>) => voidCallback for users interacting with the map
readonly
optional
onMouseDown: (event: IsometricMapEvent<IsometricMapProps>) => voidCallback called when you press the mouse down
readonly
optional
onMouseUp: (event: IsometricMapEvent<IsometricMapProps>) => voidCallback called when you press the mouse up
readonly
optional
onMouseEnter: (event: IsometricMapEvent<IsometricMapProps>) => voidCallback called when the mouse enters the map
readonly
optional
onMouseLeave: (event: IsometricMapEvent<IsometricMapProps>) => voidCallback called when the mouse exists the map