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 fetch_options for VectorTileLayer #1097

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

clydebw
Copy link
Contributor

@clydebw clydebw commented Feb 3, 2023

Related to this issue, this PR adds fetch_options to VectorTileLayer, allowing credentials to be added to vector tile requests.

For example:

lyr = ipyleaflet.VectorTileLayer(
    url=url,
    fetch_options={
        "credentials": "include"
    }
)

...which would allow cookies to be included in vector tile requests.

I've tested these changes manually, and they seem to work.

@clydebw
Copy link
Contributor Author

clydebw commented Apr 16, 2023

Just realising that this failed a bunch of CI Actions. @martinRenou I don't think I changed anything visually here - is this broken? Is there anything I can do to help fix?

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.

1 participant