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

Make VectorTileFeature#id a public property #46

Merged
merged 1 commit into from
Jul 19, 2016
Merged

Conversation

jfirebaugh
Copy link
Contributor

Fixes #43.

This implementation will be a breaking change for code that relies on the undocumented _id property. I know of one such use in mapbox-gl-js, which we can easily fix when we upgrade the vector-tile-js dependency there.

We could make this fully compatible by adding a getter for _id which returns id, but I don't think it's worth it. Anyone have a different opinion?

cc @mourner @drnextgis

@mourner
Copy link
Member

mourner commented Jul 18, 2016

👍 Let's just merge and update GL JS code.

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

Successfully merging this pull request may close these issues.

id should be a public property
2 participants