Skip to content

tile spec v2 support: prepareLayer defaults to version 1 which throws warning in mapbox-gl-js #12

@lukeelmers

Description

@lukeelmers

Right now prepareLayer defaults to version 1 if no version is provided. This causes mapbox-gl-js to throw a warning that the tile source does not use vector tile spec v2.

There doesn't seem to be a way to provide version in fromGeojsonVt that can override this default, but it would be awesome to have tile spec v2 support when converting from GeoJSON.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions