-
Notifications
You must be signed in to change notification settings - Fork 2
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
feat: add Boundary to Map and Label comp #3823
Conversation
Removed vultr server and associated DNS entries |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Works as expected for me !
@@ -227,6 +227,8 @@ const Root = () => { | |||
previouslySubmittedData, | |||
} = mapAndLabelProps; | |||
|
|||
const [passport] = useStore((state) => [state.computePassport()]); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fyi: If we're just grabbing a single value, we can use the following notation -
const [passport] = useStore((state) => [state.computePassport()]); | |
const passportData = useStore((state) => state.computePassport().data); |
Coming from user feedback contained in the Trello Ticket: https://trello.com/c/liDbYC96/3094-both-options-show-static-boundary-or-address-point-for-reference-using-geojsondata-prop?filter=member:rorydoak2
We have added the boundary to map components so users can clearly see their property boundary when adding trees.
Main changes are using the
geoJsonData
prop to populate a readonly boundary using passport dataScreen.Recording.2024-10-17.at.11.45.59.mov