tangrams / tangram-es

2D and 3D map renderer using OpenGL ES
MIT License
810 stars 235 forks source link

Add support for complex properties from GeoJSON and TopoJSON formats #1617

Open nvkelso opened 6 years ago

nvkelso commented 6 years ago

Followup based on root cause of https://github.com/tangrams/tangram-es/issues/1616.

Tilezen tiles (docs) include nested properties on several properties, including the following. While these work in Tangram JS, it seems like Tangram ES doesn't fully support this today (and should) as these are valid file format options.

roads layer lists:

Paired with some single props &/or booleans to make life easier:

pois layer lists:

Each station has several (optional) lists of routes per transport type:

Paired with some booleans:

nvkelso commented 6 years ago

MVT support is different (the data would come stringified instead of in object notation) so I've split that off into: https://github.com/tangrams/tangram-es/issues/1618.