mapbox / simplespec-to-gl-style

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

If user doesn't specify a marker-symbol for point geometry, create a circle layer #20

Closed samanpwbb closed 8 years ago

samanpwbb commented 8 years ago

If user doesn't specify a marker-symbol value for point geometry, instead of using a hardcoded fallback icon-image, create a circle layer with a fill value that matches marker-color value. We could even add two different circle layers if we wanted to add a drop shadow and match the old simplestyle spec implementation.

This way, we can guarantee that user alway sees a point even if they're using a style that has no sprites.