Skip to content

Elevation script returning TypeError: undefined "_container" #13

@simplicitywebdesign

Description

@simplicitywebdesign

The map itself shows up fine, but the track does not. My console is showing the following issue:

Uncaught TypeError: Cannot read properties of undefined (reading '_container')
    at i._addToChartDiv (leaflet.elevation.js:628:38)
    at i.addTo (leaflet.elevation.js:182:18)
    at drawTrack (leaflet.hugo.js:62:56)

I have tried for a few weeks now to nail it down but I just don't have the JS abilities to debug it. I'm almost certain I'm doing something stupid here but cannot figure it out.

Anybody else come across this?

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