mapbox / simplespec-to-gl-style

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

Add type=Point compatiabilty #15

Closed bsudekum closed 8 years ago

bsudekum commented 8 years ago

This makes 2 assumptions:

/cc @jfirebaugh

jfirebaugh commented 8 years ago

What about marker-size and marker-color?

marker-size could map small/medium/large to icon-size: 0.75, icon-size: 1, icon-size: 1.5 (or some other chosen constants).

marker-color could translate to icon-color, but that would only work if the style was using SDF icons, which hardly any styles do.

bsudekum commented 8 years ago

marker-size could map small/medium/large to icon-size: 0.75, icon-size: 1, icon-size: 1.5 (or some other chosen constants).

:+1:

marker-color could translate to icon-color, but that would only work if the style was using SDF icons, which hardly any styles do.

Yeah, I think it's worth leaving out.

@jfirebaugh do all styles have a default marker?