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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Map options are not being updated. #978

Open
hugo-licon opened this issue Dec 11, 2020 · 1 comment 路 May be fixed by #994
Open

Map options are not being updated. #978

hugo-licon opened this issue Dec 11, 2020 · 1 comment 路 May be fixed by #994

Comments

@hugo-licon
Copy link

Describe the bug 馃悰

The map is not beeing updated when I update the props. I have a Map component that receives the map options as props, but when I update the options the map doesn't rerender.

In this example, there is a button at the bottom where it enable and disable the draggable and scrollwheel options
Live Example

@hugo-licon hugo-licon changed the title Map is not beeing updated. Map options are not being updated. Dec 11, 2020
@IBanda
Copy link

IBanda commented Dec 12, 2020

Passing in the props directly without using the options object seems to work just fine. Let me look into why the object doesn't work

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