JinYongHwa / tangram-play

GUI editor for Tangram scenes

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

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

CircleCI David Dependencies David devDependencies

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.

About

GUI editor for Tangram scenes

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

License:MIT License


Languages

Language:JavaScript 88.4%Language:CSS 10.6%Language:HTML 1.0%