Skip to content

promise.then(...).catch is not a function #56

Description

@alemhar

Hi Calvin,

First, thank you for this plugin.

This is the issue I encounter. When loading a shape zip file. I get a "promise.then(...).catch is not a function" error:
at e.addFileData (leaflet.shpfile.js:57)
at e.initialize (leaflet.shpfile.js:23)
at new e (leaflet.js:5)

but on "http://leaflet.calvinmetcalf.com/" it successfully loads the file. The file is 51MB in size which I download here (https://tnris-datadownload.s3.amazonaws.com/d/otls/state/tx/otls_tx.zip).

Looking forward for your response.

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