Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

stamen/map-gl-style-diff

Open more actions menu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 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

Web tool

To use a hosted version of this tool on the web, go to stamen.github.io/map-gl-style-diff-viewer

About

To view results from this tool, see map-gl-style-diff-viewer

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 5

Morty Proxy This is a proxified and sanitized view of the page, visit original site.