Greetings, I am currently involved in a project that utilizes Angular Maps, with Angular 6 for the frontend and Python for the backend.
My task at hand is to retrieve the coordinates of certain points within a defined range of kilometers from the API. The code for this has already been written, but what I require is the ability to detect real-time changes in zoom level and central coordinates.
I have attempted to identify these changes in the map.js
file (a component of the Angular Maps library), however, I am unable to modify values in my main component from that particular file.
Is there a method to detect changes in zoom level and center coordinates?
The functionality I am seeking is akin to the following:
(mapClick)="MyFunction1($event)"
However, I am looking for a similar function in this format:
(zoomChange)="MyFunction2()"