tangrams / tangram

WebGL map rendering engine for creative cartography
https://tangram.city
MIT License
2.22k stars 290 forks source link

Creating legend - properly taking out textures from YAML #667

Open sk1me opened 6 years ago

sk1me commented 6 years ago

TANGRAM VERSION:

15.2

ENVIRONMENT:

Windows 10, Chrome

QUESTION:

How should I properly implement loadTextures() in main.js or gui.js to get all textures from the YAML and view it? Can I load textures that are inside layers in YAML?

nvkelso commented 6 years ago

See also: https://github.com/tangrams/tangram/issues/417