phlask / phlask-map

Code behind the Phlask Web Map
https://beta.phlask.me
34 stars 36 forks source link

Adds a useEffect hook to address the Google Maps component not updating zoom controls via property change #545

Closed gcardonag closed 2 weeks ago

gcardonag commented 4 weeks ago

Pull Request

Change Summary

Implements a fix to ensure that Google Maps zoom controls are not shown when switching the map from Desktop to Mobile view

Change Reason

Bug reported on #525

Verification [Optional]

A .gif, video, or screenshots of the feature are extremely helpful in verifying that code changes are working correctly. Feel free to include them in the PR to help the reviewer.

We recommend using OBS to record videos, as it is open source, free, and available on all major operating systems.

Related Issue: #525