Skip to content

v0.12.4 Uncaught TypeError: Cannot read property 'lineVertex' of null #1983

Description

@gertcuykens

After map is loaded, sourceObj.setData(traces) doesn't work anymore? It does work in v0.12.3

I haven't a example yet to show but just to let you know already something is wrong in v.0.12.4. I am trying to come up with a example, but it's not straightforward to find why exactly, in complex code that is working in v0.12.3 :)

       traces.features.push({
            "type": "Feature",
            "geometry": {
                "type": "LineString",
                "coordinates": line
            },
            "properties": {
                "id": feed
            }
        })
        sourceObj.setData(traces)

image

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions