Skip to content

Question: createTileGeom Envelope/MvtLayerParams #47

@jfuehner

Description

@jfuehner

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions