Open stevevance opened 11 years ago
Update: jQueryMobile is messing this up because it is listening to hash changes and trying to do something about the changing hash. It can be disabled with
$(document).bind("mobileinit", function(){
$.mobile.hashListeningEnabled = false;
});
But, a problem isn't gone completely.
Here's what happens:
I was able to use the Permalink plugin which I believe provides an identical function. It worked properly in my webpage.
I referenced leaflet-hash.js and added var hash = new L.Hash(map); after initializing the map. Upon the first loading of the page, the page loads the UI, loads the map, and then goes blank as the browser gets in an endless loop.
I think this may have something to do with jQueryMobile (I get a jQueryMobile-provided "error loading" on-screen message). Let me know if you need me to go into more details or provide a screencast of the loop.