mapbox / simplespec-to-gl-style

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

support single Features as input #1

Closed jfirebaugh closed 8 years ago

jfirebaugh commented 8 years ago

convert should support a single GeoJSON Feature object (not included in a FeatureCollection).

convert({
  type: "Feature",
  properties: { ... },
  geometry: { ... }
});