<MapDisplayElement />

Constructor

# <MapDisplayElement translations toggleSyncMap synced index grow disabled mapNumber />

PropTypes:
Name Type Required Description Default
translations object No Object with key/value pairs for translated strings { '_ol_kit.MapDisplayElement.map': 'Map' }
toggleSyncMap func No Callback function fired when the preview is clicked
synced bool No Determines if the preview should be highlighted to indicate synced state
index number No The index of the map being represented
grow bool No Determines if the preview UI should grow to fill width
disabled bool No Determines if the UI should allow clicking on the map preview to toggle syncing
mapNumber number No The number of the map being represented

View Source SplitScreen/MapDisplayElement/index.js, line 9