stamen / mapbox-gl-style-diff

Other
2 stars 1 forks source link

Detect and distinguish changes that have no visual result #7

Closed peterqliu closed 1 year ago

peterqliu commented 2 years ago

Per shareshare, @almccon mentioned that some style changes (e.g. applying or undoing a default style value) don't result in a visual change, and we can flag that.

This is doable for most properties, by comparing values against a list of defaults in the style spec. As a first iteration we can just compare literal values, though expressions can also evaluate to equivalent values.

mulloverit commented 1 year ago

Stale and unactionable. Closing!