Skip to content

Fix China fix making region required #496

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

Merged

Conversation

emilpalsson
Copy link
Contributor

Bah, sorry for stupid misstake. My PR (#494) to fix (#493) made the code break if not specifying bootstrapURLKeys.region. Sorry, here is a fix for that.

@pkeuter
Copy link

pkeuter commented Jan 19, 2018

Thanks for this! Please merge ASAP because the current release breaks on the region being undefined.

@emilpalsson
Copy link
Contributor Author

@itsmichaeldiego Please merge this, as the current release is not working.

@itsmichaeldiego itsmichaeldiego merged commit b84c663 into google-map-react:master Jan 23, 2018
@emilpalsson emilpalsson deleted the Iss493-china-url2 branch January 23, 2018 07:32
@alexdobsom
Copy link

can someone please explain how is this working or if there is any proper documentation. It seems it's not woking doing what it says on the readme :(

@emilpalsson
Copy link
Contributor Author

@Aldoso What problems do you experience? The only thing this PR (together with #494) does is making the lib use the China API URL if setting bootstrapURLKeys.region to 'cn'. If not setting 'cn' there should be no difference to version 0.27.0 (the version prior to these two PRs).

This is explained here in the docs.

However, a bug made version 0.28.0 break if not specifying a region at all. This is no longer a problem in 0.29.0.

@lock
Copy link

lock bot commented Dec 1, 2019

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@lock lock bot locked as resolved and limited conversation to collaborators Dec 1, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants