Skip to content
This repository has been archived by the owner on Jul 28, 2020. It is now read-only.
/ tangram-make Public archive

⌨️Command-line tool for quickly generating Tangram/Leaflet maps with data from an XYZ Space

Notifications You must be signed in to change notification settings

dbabbs/tangram-make

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Tangram Make

A command-line tool to quickly generate a Tangram/Leaflet with data displayed from an XYZ Space.

To use this tool, please execute with npx so the package files will be deleted once execution finishes.

Usage

npx tangram-make {name of directory to make} {xyz space id} {xyz token}

A sample command could look like:

npx tangram-make chicago-neighborhoods 6k5s32ms 23hlasdkj38qjapd

This will generate:

  • an html file for creating a Leaflet/Tangram map
  • a CSS file with relevant styling
  • a JavaScript file to initialize the map
  • a YAML file with the Tangram map scene

example map

About

⌨️Command-line tool for quickly generating Tangram/Leaflet maps with data from an XYZ Space

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published