Skip to content

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

Closed

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

  1. averas commented on Jan 25, 2016

    @averas
    Contributor

    Seeing the same..

  2. lucaswoj commented on Jan 25, 2016

    @lucaswoj
    Contributor

    Almost certainly related to b24b6a1#diff-b170f1c77c7b2cd7bd764fb11a521e3dL21. We should make Tile#getElementGroups inspect Tile#buffers too.

  3. self-assigned this
    on Jan 25, 2016
  4. lucaswoj commented on Jan 27, 2016

    @lucaswoj
    Contributor

    Fixed by #1987

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