-
Notifications
You must be signed in to change notification settings - Fork 56
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
Fix - Esri Attribution not removed when VectorBasemapLayer is removed #208
Fix - Esri Attribution not removed when VectorBasemapLayer is removed #208
Conversation
@BrunoCaimar thank you for the PR. I tested this using my demo case from the original issue: https://jsbin.com/liriren/4/edit?html,output
And it seems like it's still the same thing using your PR: Can you please check this case? Thanks! |
@gavinr-maps We will need to call removeEsriAttribution from esri-leaflet to fix that. Unfortunately, this method is not exported there: EsriUtils export. We will need to do that before fixing this here. I'll send a PR there, adding the method to the export. Do you need an issue there to reference this? |
this method removes the "Powered by Esri" attribution
|
Hi @BrunoCaimar, thanks a lot for working on this. Is there more work to do on this PR or is it ready for review? |
It is ready to review. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Overall looks good! One small issue:
+ avoid error when using previous versions of esri-leaflet that do not contain the function
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good. Note it fixes the specific issue here but we do have other attribution issues. We can work on those in separate issues/PRs.
Fix: #136