Skip to content

allow RGBA mapbox styles #2553

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
merged 2 commits into from
Aug 1, 2025
Merged

allow RGBA mapbox styles #2553

merged 2 commits into from
Aug 1, 2025

Conversation

tch521
Copy link
Contributor

@tch521 tch521 commented Jul 31, 2025

Rationale

Some custom Mapbox styles include transparency. In my case, I made a style that was just place names so that I could overlay it on top of some radar data. This very simple change makes that possible, otherwise transparent areas are rendered as black.

Implications

No real implications, just a small additional option for those who need it.

@CLAassistant
Copy link

CLAassistant commented Jul 31, 2025

CLA assistant check
All committers have signed the CLA.

@greglucas
Copy link
Contributor

No real implications, just a small additional option for those who need it.

The minor implication is that this isn't exactly backwards compatible because of the argument order being different now with this coming before cache, but I think this makes sense still and shouldn't be an issue.

Do you want to add this to the v0.25 release notes if you can get it in within the next day.
https://github.com/SciTools/cartopy/blob/main/docs/source/whatsnew/v0.25.rst

@greglucas greglucas merged commit 396043e into SciTools:main Aug 1, 2025
24 checks passed
@QuLogic QuLogic added this to the Next Release milestone Aug 1, 2025
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.

4 participants