Skip to content

Failed to execute 'addColorStop' on 'CanvasGradient': The value provided ('rgb(,,)') could not be parsed as a color. #860

@Faleij

Description

@Faleij

I am getting this error every time for the same route which causes the whole app to stop working properly, it is not only limited to this route:
https://brouter.de/brouter-web/#map=13/34.4381/133.2166/standard,route-quality&lonlats=133.898075,34.656245;133.394837,34.479143;133.245449,34.429071;133.205882,34.409609

Uncaught SyntaxError: Failed to execute 'addColorStop' on 'CanvasGradient': The value provided ('rgb(,,)') could not be parsed as a color.
    at i._drawHotline (leaflet.hotline.js:276:4)
    at i.draw (leaflet.hotline.js:195:1)
    at i._updatePoly (leaflet.hotline.js:292:6)
    at i._updatePath (Polyline.js:297:18)
    at i._update (Polyline.js:293:8)
    at i._updatePaths (Canvas.js:85:10)
    at i.fire (Events.js:190:11)
    at i._update (Canvas.js:116:8)
    at i._update (leaflet.hotline.js:269:33)
    at i.fire (Events.js:190:11)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions