This week, you will be removing all markers when the target project is selected, except for the marker of the target project! There are two different ways a user can select a project:
Click on the specific project pin (marker) of the target project
Direct Search / Filter and select the target project from a list of projects listed on a modal (this has not yet been implemented)
You will be making a single function that can be used for both methods and then implementing this function for (1) the user selects a specific project marker. To do this, you will be making the function in the Google Maps API folder (apis >> maps)
Here is what you will need to do:
Create a function in the Google Maps API folder that will hide all pins but the target marker selected by the user
a. markers should be identified by their project_id (make sure ethan fixes this in his PR before you start!)
b. make sure you don’t delete the marker – simply just hide it.
c. Here is some documentation that can help with your function! https://developers.google.com/maps/documentation/javascript/examples/marker-remove
This week, you will be removing all markers when the target project is selected, except for the marker of the target project! There are two different ways a user can select a project:
You will be making a single function that can be used for both methods and then implementing this function for (1) the user selects a specific project marker. To do this, you will be making the function in the Google Maps API folder (apis >> maps) Here is what you will need to do:
You are doing such a great job Julee!! I appreciate all your hard work so so much <3 !