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

Add zoom property to IMapProps #445

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

MaciekBaron
Copy link

Resolves #443

zoom is missing from the props, causing a type error to appear.

@sridaradappt
Copy link

Any idea when this change will be released ?

@Gamezordd
Copy link

Important change!

@MaciekBaron
Copy link
Author

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})}

@MaciekBaron
Copy link
Author

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!

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 this pull request may close these issues.

'zoom' not listed as a valid propType in the index.ts file
3 participants