Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Fix China fix making region required - #496

Merged
itsmichaeldiego merged 1 commit into
GoogleMapReact:masterfrom
emilpalsson:Iss493-china-url2
Jan 23, 2018
Merged

itsmichaeldiego merged 1 commit into
GoogleMapReact:masterfrom
emilpalsson:Iss493-china-url2

Conversation

@emilpalsson

Copy link
Copy Markdown
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

pkeuter commented Jan 19, 2018

Copy link
Copy Markdown

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

@emilpalsson

Copy link
Copy Markdown
Contributor Author

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

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

Copy link
Copy Markdown

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
Copy Markdown
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

lock Bot commented Dec 1, 2019

Copy link
Copy Markdown

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