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?
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 bothhashandHash.I have
var hash = new L.Hash(map);aftermapis declared. Something works because the/#zoom/lat/lonis 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?