Skip to content

The feature.id can only be set to number that worked #41

@wandergis

Description

@wandergis

I try to set feature.id by geojson-vt,but this library can only set type of number,but i can set grid_id which is string on mapbox-gl works well below:

source: {
  'grid': {
    type: 'vector',
    promoteId: 'grid_id',
    tiles: ['http://test.pbf']
  }
};

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