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

Feature request for https://github.com/CesiumGS/cesium/issues/9545 #9563

Merged
merged 23 commits into from
Dec 13, 2021

Conversation

martin-bom
Copy link
Contributor

@martin-bom martin-bom commented May 24, 2021

Fixes #9545

@cesium-concierge
Copy link

Thank you so much for the pull request @martin-bom! I noticed this is your first pull request and I wanted to say welcome to the Cesium community!

The Pull Request Guidelines is a handy reference for making sure your PR gets accepted quickly, so make sure to skim that.

  • ❌ Missing CONTRIBUTORS.md entry.
  • ❌ Missing CLA.
  • CHANGES.md was not updated.
    • If this change updates the public API in any way, please add a bullet point to CHANGES.md.
  • ❔ Unit tests were not updated.
    • Make sure you've updated tests to reflect your changes, added tests for any new code, and ran the code coverage tool.

Reviewers, don't forget to make sure that:

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

@ebogo1
Copy link
Contributor

ebogo1 commented May 25, 2021

Hi @martin-bom - thanks for opening the PR! Could you please add a test in WebMapServiceImageryProviderSpec to make sure this works as expected?

@martin-bom
Copy link
Contributor Author

Hi @martin-bom - thanks for opening the PR! Could you please add a test in WebMapServiceImageryProviderSpec to make sure this works as expected?

Hi @ebogo1 I will add it and come back to you. Thank you.

@ebogo1 ebogo1 self-assigned this Sep 20, 2021
Copy link
Contributor

@ebogo1 ebogo1 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@martin-bom Apologies for the delay, some more feedback:

  • There should be an entry in the WebMapServiceImageryProvider constructor for the new getFeatureInfoUrl option.
  • CHANGES.md should be updated with a note that this new option was added to WebMapServiceImageryProvider.
  • Please add your name to CONTRIBUTORS.md :) (see the concierge's comment above for details). And I can see you've since submitted the CLA, thanks!

Source/Scene/WebMapServiceImageryProvider.js Outdated Show resolved Hide resolved
Source/Scene/WebMapServiceImageryProvider.js Outdated Show resolved Hide resolved
@cesium-concierge
Copy link

Thanks again for your contribution @martin-bom!

No one has commented on this pull request in 90 days. Maintainers, can you review, merge or close to keep things tidy?

I'm going to re-bump this in 90 days. If you'd like me to stop, just comment with @cesium-concierge stop. If you want me to start again, just delete the comment.

@martin-bom
Copy link
Contributor Author

@ebogo1 Hello, I have made the changes based on your last review. Can you help to review again? Thank you.

Copy link
Contributor

@ebogo1 ebogo1 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @martin-bom - the new changes look good to me. I wonder if getFeatureInfoUrl is a better name than featureInfoUrl, but otherwise I think this is good to go.

@tfili - could you please take another look when you get a chance? Thanks!

Source/Scene/WebMapServiceImageryProvider.js Outdated Show resolved Hide resolved
@martin-bom
Copy link
Contributor Author

Thanks @martin-bom - the new changes look good to me. I wonder if getFeatureInfoUrl is a better name than featureInfoUrl, but otherwise I think this is good to go.

@tfili - could you please take another look when you get a chance? Thanks!

Hi @ebogo1 thank you for the review. I took away the "get" because when I came to the get/set definition and thought getGetFeatureInfoUrl was a bit awkward. I am more than happy to rename it back to getFeatureInfoUrl as getFeatureInfo is a service request name. Thank you.

@lilleyse
Copy link
Contributor

Thanks for the updates here @martin-bom. I pushed some small changes to help move along the PR.

I removed the getFeatureInfoUrl setter since it wasn't propagating fully to the UrlTemplateImageryProvider. The function is marked as @readonly anyways so I assume the setter wasn't really needed in the first place. Let me know if it should be added and we can think about doing a follow up PR.

@lilleyse lilleyse merged commit 2995ac2 into CesiumGS:main Dec 13, 2021
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.

Allowing user to specify getFeatureInfo URL for WMS
5 participants