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

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

Open
wandergis opened this issue Nov 24, 2020 · 0 comments
Open

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

wandergis opened this issue Nov 24, 2020 · 0 comments

Comments

@wandergis
Copy link

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']
  }
};
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