maps zoom event set args equal false not working


I want to add a custom event when a user press "Reset" button on toolbar. To achieve this, I need to prevent the default behavior, which is zoom all the way out when press on it.

To disable default behavior, I added (zoom)="onZoom($event)" to maps component, then onZoom function, I set args.cancel equal to true, but after set this the default behavior sill remain there.

https://stackblitz.com/edit/angular-ttdjze


2 Replies 1 reply marked as answer

IR Indumathi Ravi Syncfusion Team March 30, 2022 02:54 PM UTC

Hi Tien,


We are able to reproduce the reported issue with the provided sample. We have considered this as a defect and logged a defect report for the same. However, we will include the fix for the reported issue in our weekly patch release which is expected to be available by the mid of April 2022. Please find the feedback link below to keep track of the reported issue.


https://www.syncfusion.com/feedback/33783/


Regards,

Indumathi R.



IR Indumathi Ravi Syncfusion Team April 13, 2022 06:50 PM UTC

Hi Tien,


Thank you for your patience.


We have fixed the reported issue and included the fix in our weekly patch release (v20.1.48). Please update the below packages in your application to resolve the reported issue. It is available for download under the following link.


https://www.npmjs.com/package/@syncfusion/ej2-maps

https://www.npmjs.com/package/@syncfusion/ej2-angular-maps


Please let us know if you need any further assistance.


Regards,

Indumathi R.


Marked as answer
Loader.
Up arrow icon