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

Errors loading Refill map on main metro extracts page #313

@nvkelso

Description

@nvkelso

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions