Closed sshyamprasath closed 5 years ago
Same here. This broke after the https://github.com/SebastianM/angular-google-maps/releases/tag/1.0.0-beta.3
@SebastianM
Found the issue:
AgmCoreModule.forRoot({
apiKey: '-bQ',
apiVersion: '3.31'
}),
the 3.32 has a different way of passing options
When we can expect fixing this major issue? Version 3.31 has other major bugs, at least with agm. Also (not related to scroll) but to agm-snazzy-info-window, with v 3.32 and @agm/snazzy-info-window: "^1.0.0-beta.3" width of window can not be set like before:
<agm-snazzy-info-window maxWidth="1000" [maxHeight]="1000" [closeWhenOthersOpen]="true">
Any suggestions?
@sshyamprasath We need more specific information. I believe that it need to get fixed in the google maps api because there are no breaking changes.
I sent you email on June 13 (to your email address according to https://github.com/SebastianM) with explanations. Sent you also link to download a simple demo project, which showcases the bug. Please check also in Spam and please confirm the receiving.
@SebastianM will this be fixed in the next release?
Thanks a lot!
@SebastianM We also experience the issue. Will there be any update soon? Thanks in advance. Regards.
The suggested comment above from @jimmykane, setting apiVersion to 3.31 worked for a while, but Google have retired that version (https://issuetracker.google.com/issues/112519576) and it's not working anymore.
Yes, I also noticed a few days ago that my maps started zooming again when people are trying to scroll past them.
@SebastianM: Are you planning to implement a fix for this in the near future?
Thanks.
Setting the 'scrollwheel' input to undefined/null seemed to work for me.
<agm-map [scrollwheel]=null></agm-map>
I still have this issue, I tried to use " apiVersion: '3.31' " but I still can't get it to work unfortunately, anyone has a solution for it?
gestureHandling cooperative seems to not work
@SebastianM
Nevermind, just realized I had to use scrollwheel null to get gestureHandling cooperative to work:
<div class="col-12"> <agm-map [latitude]="51.678418" [longitude]="7.809007" [scrollwheel]="null" [gestureHandling]="'cooperative'"> <agm-marker [latitude]="51.678418" [longitude]="7.809007"></agm-marker> </agm-map> </div>
You should be able to remove the specific API version now also.
Great! Thank you PaulDLW for finding the solution: [scrollwheel]=null
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Gesture handling settings to enable
ctr + scrollwheel
to zoom is not working. App using angular version 4.4.4 and agm version is 1.0.0-beta.1. I set the parameters as followsStill it is zooming on scroll without press
ctrl
.