feat(interaction): add zoomActiviationKeyCode #847

This commit is contained in:
moklick
2021-01-20 11:36:10 +01:00
parent 25ce4a835f
commit bd79577fa7
7 changed files with 42 additions and 29 deletions
+2
View File
@@ -37,6 +37,7 @@ const FlowRenderer = ({
onMoveEnd,
selectionKeyCode,
multiSelectionKeyCode,
zoomActivationKeyCode,
elementsSelectable,
zoomOnScroll,
panOnScroll,
@@ -99,6 +100,7 @@ const FlowRenderer = ({
defaultPosition={defaultPosition}
defaultZoom={defaultZoom}
translateExtent={translateExtent}
zoomActivationKeyCode={zoomActivationKeyCode}
>
{children}
<UserSelection selectionKeyPressed={selectionKeyPressed} />