Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't use option { gestureHandling: "cooperative" } with google maps #19

Closed
Anton-Plagemann opened this issue Sep 15, 2024 · 1 comment · Fixed by #20
Closed

Can't use option { gestureHandling: "cooperative" } with google maps #19

Anton-Plagemann opened this issue Sep 15, 2024 · 1 comment · Fixed by #20

Comments

@Anton-Plagemann
Copy link

I tried to use these options:

{
  gmap: {
      gestureHandling: "cooperative",
    }
}

(see here on more information on the option gestureHandling)

But that doesn't work, because its getting overwritten with the value auto on each render (so I also can't set it afterwards using chart.getModel().getComponent("gmap").getGoogleMap().setOptions({ gestureHandling: "cooperative" })) 😟

gmap.setOptions({
gestureHandling: gmapModel.get('roam') ? 'auto' : 'none'
})

Could we change that? I would be happy to submit a PR 😊

@plainheart
Copy link
Owner

I think it makes sense. Feel free to open a PR fix it. :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants