Interface MiniMapProps

Hierarchy

  • MiniMapProps

Properties

ariaLabel?: null | string
height?: number
inversePan?: boolean

Enable inverse panning, i.e. drag minimap to move viewport in opposite direction

maskColor?: string

Background color of minimap mask

maskStrokeColor?: string

Border color of minimap mask

maskStrokeWidth?: number

Border width of minimap mask

nodeBorderRadius?: number

Node border radius

nodeClassName?: string | MiniMapNodeFunc3

Additional node class name, can be either a string or a string func that receives the current node

nodeColor?: string | MiniMapNodeFunc

Node color, can be either a string or a string func that receives the current node

nodeStrokeColor?: string | MiniMapNodeFunc2

Node stroke color, can be either a string or a string func that receives the current node

nodeStrokeWidth?: number

Node stroke width

pannable?: boolean

Enable drag minimap to drag viewport

position?: PanelPosition

Position of the minimap PanelPosition

width?: number
zoomStep?: number

Specify zoom step

zoomable?: boolean

Enable zoom minimap to zoom viewport

Generated using TypeDoc