Can't get zoom on change
See original GitHub issueIssue description I’ve bound the zoomChange output to a simple logging function. However, I can’t get the zoom level.
Current behavior Seems like no arguments are being passed to my callback
Expected/desired behavior Zoom should be passed on each call
angular2 & angular2-google-maps version Angular2 2.0.0 AGM 0.15.0
<ion-content class="map">
<sebm-google-map [latitude]="lat"
[longitude]="lng"
[zoom]="16"
(zoomChange)="zoomChange(z)">
</sebm-google-map>
</ion-content>
zoomChange(event){
console.log(event);
}
every time I zoom, I get undefined in the console.
Issue Analytics
- State:
- Created 7 years ago
- Reactions:4
- Comments:6 (1 by maintainers)
Top Results From Across the Web
Frequently asked questions - Zoom Support
Read common questions about: Getting started with Zoom; Scheduling a meeting; Joining a meeting; Zoom Webinars; Meeting and webinar features; My ...
Read more >The most common Zoom problems and how to fix them now
Here are some of the most common Zoom problems and how to troubleshoot them. From issues with your video to problems sharing your...
Read more >Change Zoom advanced options for accessibility on Mac
To change these settings, choose Apple menu > System Settings, click Accessibility in the sidebar, click Zoom on the right, then click Advanced....
Read more >Zoom in or magnify your Chromebook screen - Google Support
Reset zoom: Press Ctrl + 0. You can also make all pages bigger or change the font size. Make everything on your screen...
Read more >Can't get zoom on change · Issue #724 - GitHub
Issue description I've bound the zoomChange output to a simple logging function. However, I can't get the zoom level.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
You need to change
z
into$event
as argument in the template (it’s by design in Angular).z
really isundefined
in your template.@jonathan-chin you can combine the
(idle)
output with the(centerChange)
event. So track changes from the centerChange output when an idle gets emitted, you can start your logic. Does this help?