Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

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

Open
MaciekBaron wants to merge 1 commit into fullstackreact:master
base: master
Choose a base branch
Loading
from MaciekBaron:patch-1

Conversation

Copy link

@MaciekBaron MaciekBaron commented May 27, 2020

Resolves #443

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

leocavalcante reacted with thumbs up emoji
Copy link

Any idea when this change will be released ?

Copy link

Important change!

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

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!

ajkovar, msmid, hirokikondo86, and leocavalcante reacted with thumbs up emoji

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Reviewers
No reviews
Assignees
No one assigned
Labels
None yet
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

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

AltStyle によって変換されたページ (->オリジナル) /