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] Populate the Map with Project Markers #7

Open
itsliterallymonique opened this issue Oct 7, 2024 · 0 comments
Open

[feat] Populate the Map with Project Markers #7

itsliterallymonique opened this issue Oct 7, 2024 · 0 comments
Assignees
Labels
enhancement New feature or request
Milestone

Comments

@itsliterallymonique
Copy link
Collaborator

itsliterallymonique commented Oct 7, 2024

This week you will be creating the function that will populate the map with project markers whenever the user loads the home page! Here is what you will need to do:

  1. Create the function that will query all projects in the database
    a. Create a query file (.tsx) inside api >> supabase >> queries
    b. You only need to fetch the project name, renewable energy type, latitude and longitude!
  2. Create a function that adds a marker to the map
    a. Add this function to api >> google maps. This is because we might need to use this function in other ways!
  3. The marker will need to:
    a. When hovered on, display the project name
    b. Use the default pin marker
  4. Add Documentation on this to our MTP documentation file on notion

Some things that might be helpful:

PR Reviewers: Justin Lee (@jjstnlee) and Monique (@itsliterallymonique)

@itsliterallymonique itsliterallymonique added the enhancement New feature or request label Oct 7, 2024
@itsliterallymonique itsliterallymonique added this to the Home Page milestone Oct 7, 2024
@itsliterallymonique itsliterallymonique changed the title [feat] Home Page: Populate the Map with Project Markers [feat] Populate the Map with Project Markers Oct 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants