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

Question: createTileGeom Envelope/MvtLayerParams #47

Open
jfuehner opened this issue Jun 5, 2020 · 0 comments
Open

Question: createTileGeom Envelope/MvtLayerParams #47

jfuehner opened this issue Jun 5, 2020 · 0 comments

Comments

@jfuehner
Copy link

jfuehner commented Jun 5, 2020

Hi! I am working on building a simple MVT service to be used by Mapbox.gl but am a little confused with the createTileGeom function signature.

I have a service endpoint...

http://localhost/tiles/{z}/{x}/{y}

Both the Envelope and MvtLayerParams appear to take in x/y or an extent. How might I go about only displaying tiles that are within the users viewable extent with only the z/x/y are sent to the server?

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

1 participant