mapzen / metro-extracts

DEPRECATED. See readme for alternative ways to get "city-sized chunks" of OpenStreetMap data
ISC License
25 stars 27 forks source link

Errors loading Refill map on main metro extracts page #313

Open nvkelso opened 6 years ago

nvkelso commented 6 years ago

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' 
...