Skip to content

L.hash is not a constructor #49

@diplodata

Description

@diplodata

I see a previous issue raised about this but no solution was offered. I get the same problem (TypeError: L.hash is not a constructor) with your current version using both hash and Hash.

I have var hash = new L.Hash(map); after map is declared. Something works because the /#zoom/lat/lon is now in URL, but it is not responsive when I move the map, and doesn't override the coded centre if I offer the URL with different params.

Any idea what I'm getting wrong?

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