Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MapPreview updates to support drawing & editing on map (JAM-5013) #84

Merged
merged 9 commits into from
Nov 7, 2023

Conversation

beadams86
Copy link
Contributor

@beadams86 beadams86 commented Oct 20, 2023

What changed?

  • More props added to MapPreview for supporting drawing on it
  • New MapPreviewDraw component, basically same as MapDraw but catered to MapPreview instead of Lens to avoid breaking changes to Lens
  • New MapPreview storybook story to cover the empty MapPreview map + drawing
  • Removed the MapDraw storybook story as it displayed nothing & provides no value
  • Minor PropTypes validation updates to InputButton & FormInput to allow JSX labels

Ben Adams added 6 commits October 13, 2023 15:37
…to show an empty map by default. Included new storybook story for this
…ons to be customized, and pass the leafletElement with the onCreated & onEdited callbacks instead of the FeatureGroup ref which is redundant/already available
@parksjr parksjr assigned parksjr and unassigned parksjr Oct 24, 2023
@parksjr parksjr self-requested a review October 24, 2023 16:03
@beadams86 beadams86 merged commit 50318d4 into master Nov 7, 2023
1 check passed
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.

2 participants