-
Notifications
You must be signed in to change notification settings - Fork 813
Add zoom property to IMapProps #445
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
Conversation
sridaradappt
commented
May 29, 2020
Any idea when this change will be released ?
Gamezordd
commented
Jun 6, 2020
Important change!
Any idea when this change will be released ?
Unfortunately the last time the maintainer of this project was active was 2 months ago, so no idea.
However if you desperately want to avoid type errors, a workaround is to set zoom on load:
onReady={(mapProps, map) => map.setOptions({zoom: 5})}
Hi @auser sorry to ping but it's been a month and it's a tiny change that (as you can see) is requested by a few people. Could you have a look? Thanks!
Resolves #443
zoom
is missing from the props, causing a type error to appear.