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

feat: map location 🗺️ #1253

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from
Draft

Conversation

luke-mcfarlane-rocketlab
Copy link
Contributor

JIRA Ticket

BSS-469

Description

Update the map form fields to show the users live current location as a stylised blue dot (I have also added this to the survey map view)

Proposed Changes

  • Created functions to add the following to the map
    1. Center control component
    2. Current location dot
  • Added function to get current location
  • Updated survey map view and map form fields to use these

How to Test

  1. Navigate to any survey
  2. Check that the centre control and current location dot are functioning correctly
  3. Create a new record
  4. Click "Map Location" and verify the centre control and current location dot are functioning correctly

Additional Information

Checklist

  • I have confirmed all commits have been signed.
  • I have added JSDoc style comments to any new functions or classes.
  • Relevant documentation such as READMEs, guides, and class comments are updated.

…ns, used in both map components

Signed-off-by: Luke McFarlane <[email protected]>
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.

1 participant