Skip to content

feat: hideResetControl and staticMode props#41

Merged
jessicamcinchak merged 1 commit intomainfrom
jess/controls-props
Aug 17, 2021
Merged

feat: hideResetControl and staticMode props#41
jessicamcinchak merged 1 commit intomainfrom
jess/controls-props

Conversation

@jessicamcinchak
Copy link
Copy Markdown
Member

Closes #32

Two initial use cases:

  • BOPs only wants to show the "reset" button when drawMode is enabled. If they're loading geojson they can hide it
  • PlanX wants to hide all controls and disable zoom/pan interactions in our Review component

@netlify
Copy link
Copy Markdown

netlify Bot commented Aug 17, 2021

✔️ Deploy Preview for oslmap ready!

🔨 Explore the source changes: 46be68c

🔍 Inspect the deploy log: https://app.netlify.com/sites/oslmap/deploys/611b7e63f3ead3000739057c

😎 Browse the preview: https://deploy-preview-41--oslmap.netlify.app

@jessicamcinchak jessicamcinchak merged commit 2d2857d into main Aug 17, 2021
@jessicamcinchak jessicamcinchak deleted the jess/controls-props branch August 17, 2021 10:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add hideControls prop to hide control buttons & disable zoom/panning

1 participant