GUI editor for Tangram scenes
JavaScript CSS HTML Shell
Latest commit fcb67f3 Jul 1, 2016 @louh louh committed on GitHub Merge pull request #436 from tangrams/react-filedrop
Convert file drop to React component

README.md

CircleCI David Dependencies David devDependencies

https://mapzen.com/tangram/play/

Editor for Tangram scene files

Tangram Play is an editor for Mapzen's Tangram map-rendering library that makes it easy to build or modify Tangram scene files and see your changes right away. It runs entirely in your browser and can be accessed at https://mapzen.com/tangram/play/.

Here is a clip of Patricio's live demo at JS.Geo (October 2015) (notes are here).

This project is currently in active development (think public beta) and so functionality may change or break without prior notice. This doesn't mean you can't use it, but please keep this in mind and feel free to send feedback on the issues tracker.

Query string API

  • lines=[number]/[number-number]: you highlight a line or a range of lines. Example lines=10-12.

  • scene=[url.yaml]: load a specific .yaml file using a valid url

Keys

  • Ctrl + [number]: Fold indentation level [number]
  • Alt + F: fold/unfold line
  • Alt + P: screenshot of the map

Sublime-like hotkeys

  • Ctrl + F: Search
  • Ctrl + D: Select next occurrence
  • Alt + ArrowKeys: move word by word
  • Shift + ArrowKeys: Select character by character
  • Shift + Alt + ArrowKeys: Select word by word

Contributing

We welcome contributions from the community. For more information how to run Tangram Play in your local environment and get started, please see CONTRIBUTING.md.