Hides the street names from the cropped image that we generate when a user places a label. We're doing this by hiding the road labels when a user chooses a label type and switches to "labeling mode"; after they place a label, we added a 20 ms delay before switching back to "walk mode", which then adds the road labels back.
In internal testing, 20 ms was enough time to save the images. And we don't expect the 20 ms delay to cause a problem for users bc it's a delay to move to a new pano; we expect users to be adding severity/tags to their labels after adding the label anyway, and this isn't inhibited at all.
Resolves #3503
Written by @hoominchu
Hides the street names from the cropped image that we generate when a user places a label. We're doing this by hiding the road labels when a user chooses a label type and switches to "labeling mode"; after they place a label, we added a 20 ms delay before switching back to "walk mode", which then adds the road labels back.
In internal testing, 20 ms was enough time to save the images. And we don't expect the 20 ms delay to cause a problem for users bc it's a delay to move to a new pano; we expect users to be adding severity/tags to their labels after adding the label anyway, and this isn't inhibited at all.
Before/After screenshots (if applicable)
Before![crop_temp_pittsburgh-pa_e7e6dc2f-a7a5-4b10-85d5-3191cd98b64f_16_SurfaceProblem jpg](https://github.com/ProjectSidewalk/SidewalkWebpage/assets/6518824/cc9e7096-3507-4574-a08e-212d5529c591)
After![crop_temp_pittsburgh-pa_e7e6dc2f-a7a5-4b10-85d5-3191cd98b64f_15_SurfaceProblem jpg](https://github.com/ProjectSidewalk/SidewalkWebpage/assets/6518824/824fbc45-5d5b-49ec-b63f-5486df18c5a5)