tangrams / tangram

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

% sizes should apply when no sprites set #644

Closed meetar closed 6 years ago

meetar commented 6 years ago

Same as https://github.com/tangrams/tangram/issues/642 but for a size using a %:

sources:
    tilezen:
        type: TopoJSON
        url: https://tile.nextzen.org/tilezen/vector/v1/512/all/{z}/{x}/{y}.topojson
textures:
    icons:
        url: mapzen.png
layers:
    mypois:
        data: { source: tilezen, layer: pois }
        draw:
            points:
                texture: icons
                size: 50%