Currently, I am developing a store locator app for DHL accessible at storefinder.hashfff.com/app/index.html
For this project, I decided to utilize the angular-google-maps library for its features. However, in hindsight, working directly with the Google Maps API may have been a better choice due to its more detailed documentation. Nonetheless, as a novice in Angular, I thought the library would be beneficial.
The searchbox in my app is connected to an event listener named "place_changed", which triggers after setting up the Autocomplete feature with autocomplete as a parameter.
...
(Original code block)
...
Following the Autocomplete trigger, the map zooms in too closely on the searched location, and while the typical solution would be to use map.setZoom(5), the challenge lies in not having access to the map object within this event listener.
If anyone familiar with the Google Maps Angular directive could offer guidance on this issue, it would be greatly appreciated. Feel free to request additional code if needed for a clearer understanding.