Skip to content

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