Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface INavigatorProps

Navigator component props

export
interface

INavigatorProps

extends

{React.Props}

Hierarchy

  • Props<any>
    • INavigatorProps

Index

Properties

busy

busy: boolean

Optional children

children: ReactNode

Optional finiteScaleList

finiteScaleList: number[] | null

A list of finite scales. Set when the map contains base (tiled) layers. When set, slider drags will snap to the values in this list. Zooming in and out will move to the next/previous finite scale instead of the default logarithmic calculation

type

{number[]}

memberof

INavigatorProps

Optional key

key: Key

Optional locale

locale: undefined | string

onPan

onPan: function

Type declaration

    • (direction: PanDirection.East | PanDirection.West | PanDirection.South | PanDirection.North): void
    • Parameters

      • direction: PanDirection.East | PanDirection.West | PanDirection.South | PanDirection.North

      Returns void

onRequestZoomToScale

onRequestZoomToScale: function

Type declaration

    • (scale: number): void
    • Parameters

      • scale: number

      Returns void

onZoom

onZoom: function

Type declaration

    • (direction: ZoomDirection.In | ZoomDirection.Out): void
    • Parameters

      • direction: ZoomDirection.In | ZoomDirection.Out

      Returns void

Optional ref

ref: Ref<any>

scale

scale: number

Optional style

style: React.CSSProperties

Generated using TypeDoc