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 ability to specify Bing Maps geocoder culture #9729

Merged
merged 2 commits into from
Aug 16, 2021
Merged

Conversation

mramato
Copy link
Contributor

@mramato mramato commented Aug 13, 2021

  1. Add optional culture property to BingMapsGeocoderService constructor and use it to set culture when making a request. This causes the results to be displayed in the specified culture and language.

  2. Update Resource.js to use CesiumMath's RNG so we can have a random seed with consistent results

  3. Slightly improve BingMapsGeocoderService tests to support the new functionality and double check some existing code.

@cesium-concierge
Copy link

Thanks for the pull request @mramato!

  • ✔️ Signed CLA found.

Reviewers, don't forget to make sure that:

  • Cesium Viewer works.
  • Works in 2D/CV.
  • Works (or fails gracefully) in IE11.

1. Add optional `culture` property to BingMapsGeocoderService constructor
and use it to set culture when making a request. This causes the results
to be displayed in the specified culture and language.

2. Update Resource.js to use CesiumMath's RNG so we can have a random seed
with consistent results

3. Slightly improve BingMapsGeocoderService tests to support the new
functionality and double check some existing code.
@mramato
Copy link
Contributor Author

mramato commented Aug 14, 2021

Found several issues (#9730, #9731) while figuring out why CI was failing. Ended up tweaking the tests to compensate but those issues are likely to bite us again if we don't address them at some point.

@ebogo1
Copy link
Contributor

ebogo1 commented Aug 16, 2021

Thanks @mramato! I confirmed this works in Sandcaslte and that specs pass. The code changes look good to me. I pushed a fix to the link in the new docs but otherwise this is good to go.

@ebogo1 ebogo1 merged commit 7a74db4 into main Aug 16, 2021
@ebogo1 ebogo1 deleted the karma-chameleon branch August 16, 2021 20:12
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.

3 participants