Open patriciogonzalezvivo opened 9 years ago
Follow up from talking with Mike - it would be nice to have some way of visualizing the data that comes in from the vector tile sources so people understand what data is available and what is getting styled. There was some observations from SOTM that people were needed a way to understand what the vector data is and how it can be actively styled on the fly, versus pre-rendered raster tiles.
Couple of ideas:
@louh oh now I remember this from our discussion. We added this coz I was showing how they do it in Mapbox Studio and really like that. They show a full list of layers and the possible styling tags for each. This is like a reference. It's super useful and educational. I can see it living as a page in the documentation (ref: https://www.mapbox.com/mapbox-gl-style-spec/)
Hi! @souperneon, speaking w Brett he want's tangram to be data agnostic, so is not possible to have a "hardcoded" list of layers in the editor. The way to do it is as @louh was saying by reading available data on the tiles. Here is a tool that @meetar made that do exactly that: https://github.com/tangrams/explorer ( try clicking and selecting ). Unfortunately this feature selection requires the style be setup in a particular way : / It might be a way to do it... I will check with @bcamper
This requires more discussion, it's not something where we can just hack it in
On Thursday, June 25, 2015, Patricio Gonzalez Vivo notifications@github.com wrote:
Hi! @souperneon https://github.com/souperneon, speaking w Brett he want's tangram to be data agnostic, so is not possible to have a "hardcoded" list of layers in the editor. The way to do it is as @louh https://github.com/louh was saying by reading available data on the tiles. Here is a tool that @meetar https://github.com/meetar made that do exactly that: https://github.com/tangrams/explorer ( try clicking and selecting ). Unfortunately this feature selection requires the style be setup in a particular way : / It might be a way to do it... I will check with @bcamper https://github.com/bcamper
— Reply to this email directly or view it on GitHub https://github.com/tangrams/tangram-play/issues/40#issuecomment-115215573 .
@bcamper @patriciogonzalezvivo @louh agreed! For now pointing to our vector tile and tangram documentation will be most helpful.
@bcamper just to clarify, I'm not suggesting "hack it in"
@patriciogonzalezvivo do you mean data layers?