Harmoware-VIS Documents
  • Introduction
  • Using
    • Mapbox Accesstoken Setting
    • User Application Examples
  • API
    • State
    • Actions
    • getCombinedReducer
    • Container
    • connectToHarmowareVis
    • HarmoVisLayers
  • Layers
    • Base Layer properties.
    • MovesLayer
    • DepotsLayer
    • LineMapLayer
  • Control component
    • MovesInput
    • DepotsInput
    • LinemapInput
    • LoadingIcon
    • AddMinutesButton
    • ElapsedTimeRange
    • ElapsedTimeValue
    • PauseButton
    • PlayButton
    • ForwardButton
    • ReverseButton
    • NavigationButton
    • SimulationDateTime
    • SpeedRange
    • SpeedValue
    • FpsDisplay
  • css
Powered by GitBook
On this page

Was this helpful?

  1. Control component

NavigationButton

PreviousReverseButtonNextSimulationDateTime

Last updated 5 years ago

Was this helpful?

Generate navigation buttons.

Examples

<NavigationButton buttonType="zoom-in"
actions={this.props.actions} viewport={this.props.viewport} />

Properties

Properties

PropTypes

Default

Description

buttonType

string required

--

'zoom-in' or 'zoom-out' or 'compass'

actions

object required

--

state actions

viewport

object required

--

state viewport

className

string option

'harmovis_button'

html tag attribute class

Display example