tangrams / tangram

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

`density` should apply if no sprites set #641

Closed meetar closed 6 years ago

meetar commented 6 years ago

The density parameter should affect the drawn size of a point when drawn using a texture and a size specified in %, eg:

textures:
    logo:
        density: 2
        url: logo.png
layers:
    pois:
        data: { source: tilezen, layer: pois }
        draw:
            points:
                texture: logo
                size: 50%

Currently density only has an effect when sprites are defined and used.

meetar commented 6 years ago

Closed with #645