Skip to content
This repository has been archived by the owner on Nov 8, 2018. It is now read-only.

Errors loading Refill map on main metro extracts page #313

Open
nvkelso opened this issue Aug 14, 2017 · 0 comments
Open

Errors loading Refill map on main metro extracts page #313

nvkelso opened this issue Aug 14, 2017 · 0 comments

Comments

@nvkelso
Copy link
Member

nvkelso commented Aug 14, 2017

tl;dr

New syntax from https://mapzen.com/blog/refill-levels-of-detail-and-labels/:

import:
    # basemap style
    - https://mapzen.com/carto/refill-style/8/refill-style.zip
    # modify the basemap via themes
    # already defaults to black color
    # add more labels
    - https://mapzen.com/carto/refill-style/8/themes/label-10.zip

OR

We ask for RefillMoreLabels using Mapzen.js.

===

Console log contains errors like:

Uncaught TypeError: Cannot set property 'innerHTML' of null
at e (mapzen-styleguide.min.js:5)
    at XMLHttpRequest.n.onload 
(Tangram v0.10.6 [error]: ERROR: 0:583: 'rgb' :  field selection requires structure or vector on left hand side
Tangram v0.10.6 [error]: StyleManager.compile(): error compiling style colorized-icons: Error: style.compile(): style colorized-icons error:
Tangram v0.10.6 [error]: StyleManager.compile(): error compiling style building-grid: Error: style.compile(): style building-grid error:
global.lightest_color:1 GET https://mapzen.com/carto/refill-style-more-labels/global.lightest_color 404 (Not Found)
global.lighter_color:1 GET https://mapzen.com/carto/refill-style-more-labels/global.lighter_color https://mapzen.com/carto/refill-style-more-labels/global.black_color 404 (Not Found)
Tangram v0.10.6 [warn]: Texture 'https://mapzen.com/carto/refill-style-more-labels/global.lightest_color': failed to load url: 'https://mapzen.com/carto/refill-style-more-labels/global.lightest_color' 
...
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant