Skip to content

stamen/map-gl-style-diff

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

map-gl-style-diff

Tool providing a semantic readout of diffs between "before" and "after" stylesheet states. Assumes stable layer id names.

Currently detects

  • changes to all parameters within each style layer
  • changes to the layer stack (new, removed, moved layers)
  • changes to sources (new, removed, updated sources)

To be implemented

  • changes to stylesheet parameters outside layers and sources
  • detecting renamed layers (in a way beyond showing them as removed and immediately readded)

Usage

bin/map-gl-style-diff ./path/to/style/a.json ./path/to/style/b.json

Standalone tool

Currently you can also use this as a standalone tool via stamen-diff.html

About

No description or website provided.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •