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

[Feature Request] Provide ability to load vector tiles from a local function #10362

Open
douglasg14b opened this issue Feb 7, 2021 · 3 comments

Comments

@douglasg14b
Copy link

douglasg14b commented Feb 7, 2021

Motivation

I've seen this mentioned a few times, but have not seen an actual request or feature for it. So here it is!

  • Client-side generated tiles
  • Client-side generated grids
  • Anything where the vector tile generation can be offloaded to the client on a tile-by-tile basis
  • Alternative caching mechanism or logic that needs to be maintained outside of Mapbox
  • Providing an alternative to the delay/lag of loading large datasets that may be much larger than the current viewport, instead it could be generated & rendered tile-by-tile client-side
    • Similarly, a changing dataset could be more performant if more use-case specific tile-generating & caching strategies could be employed, and the vector tiles results just fed to mapbox

Similar Issues:

Design Alternatives

Unknown

Design

Prove the ability to pass a function as a vector tile source for a layer. Instead of just a URL.

For instance a function getTile(x,y,z) could return the appropriate map tiles for mapbox to use for some layer.

Mock-Up

Unknown

Concepts

Unknown

Implementation

Unknown

@douglasg14b
Copy link
Author

The mockup, concepts, & implementation are out of my knowledge-space for Mapbox. Maybe a maintainer could speak to those?

@douglasg14b
Copy link
Author

Possibly related to #10008 ?

@fr-an-k
Copy link

fr-an-k commented Jun 22, 2022

I could really use this too; ideally just provide the blob rather than having to pass it as a data/object url.

Ideally it would be possible to use something like the buckets directly and leave out the HTTP, HTML, GeoJSON, vector tile/PBF stuff; it serves no purpose when editing client-side in a data driven web app.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants