mapbox / simplespec-to-gl-style

Converts GeoJSON styled with simplestyle-spec to a GL Style
ISC License
31 stars 6 forks source link

Use id instead of custom _id property #29

Open 1ec5 opened 7 years ago

1ec5 commented 7 years ago

The GeoJSON specification provides for Feature and FeatureCollection objects to have an id member alongside (but not within) the properties member. This library currently adds an _id member to the properties object, but we should transition it over to the standard id member. The filter would compare $id instead of _id.

/cc @bsudekum