tangrams / tangram

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

display textures pulled from a URL in a feature property #726

Open burritojustice opened 5 years ago

burritojustice commented 5 years ago

It would be nice to use the url in a property feature as a texture, a la

    pois:
        filter: {$geometry: point}
        # enabled: false
        data: {source: _xyzspace}
        draw:
            points:
                texture: host_picture_url

TANGRAM VERSION:

0.19

ENVIRONMENT:

Mac, Chrome/Safari

TO REPRODUCE THE ISSUE, FOLLOW THESE STEPS:

https://burritojustice.github.io/xyz_maps/airbnb_hosts/ https://github.com/burritojustice/xyz_maps/blob/master/airbnb_hosts/scene.yaml

RESULT:

The image does not show up, but another image, which looks like a list of text, does show up.

While zooming in and out, what looks like a spheremap briefly appears.

EXPECTED RESULT:

Expecting that the image from the url would show up as the icon