Skip to content

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