Closed nvkelso closed 7 years ago
We suspect this is because the YAML is being merged correctly, but the texture links to files inside ZIPs are relative to the ZIP and aren't merged like the YAML. Since the texture was already in refill ZIP, it seems like the redefinition of it is ambiguous if the root path should then change the the walkabout ZIP. That's true in my case, but may not always be the case?
Let me look at expected path behavior in this case in JS.
My problem was importing Refill 8
when it needed to be 9
:
import:
- https://mapzen.com/carto/refill-style/9/refill-style.zip
- https://mapzen.com/carto/refill-style/9/themes/label-10.zip
#- https://mapzen.com/carto/bubble-wrap-style/8/themes/bubble-wrap-icons.yaml
#- https://mapzen.com/carto/walkabout-style/6/themes/walkabout-icons.zip
#- https://mapzen.com/carto/tron-style/5/themes/tron-icons.zip
#- https://mapzen.com/carto/cinnabar-style/8/themes/cinnabar-icons.zip
So does this currently work as expected, or no?
Works as expected!
Sent from my handsful device.
On Sep 19, 2017, at 12:20, Brett Camper notifications@github.com wrote:
So does this currently work as expected, or no?
― You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or mute the thread.
I can get Walkabout icons to import in Refill locally, but not remotely.
By locally I mean load the raw YAML or ZIP bundled assets locally using Tangram JS.
By remotely I mean load the same YAML or ZIP bundled assets remotely using Tangram JS or the same code in Tangram Play. Sample code (commented), below. Testing files here: refill-style.zip.
Works (desired Refill basemap with Walkabout icons):
Broken only Refill