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

How to Modify Tile Data ? (callback or any structure to decode my tile data) #9840

Closed
MostafaSh opened this issue Jul 5, 2020 · 1 comment

Comments

@MostafaSh
Copy link

summery ->
in our company, we use our own tile servers. we encode both tile-urls and Tile data in some way for protecting our data.
now, we are going to start using mapbox-gl in our webApps.

problem ->
I cannot find the callback or any solution to modifying each tile data after they've got fetched. it seems there is no solution defined in docs or forums.

what I am seeking for ->
if there is any solution defined already, please leave a sample or the address to it's doc for me.
if there is no solution, is there any upcoming release of mapbox-gl wich provides any solution for my problem? if there is, is there any timing for it?

@mourner
Copy link
Member

mourner commented Jul 6, 2020

There's currently no way to do that directly through the API — you'll either have to modify the source code, or try an undocumented custom sources API discussed in #2920. Unfortunately we have no timeline for improvements on that front at the moment.

@mourner mourner closed this as completed Jul 6, 2020
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

No branches or pull requests

2 participants