-
Notifications
You must be signed in to change notification settings - Fork 90
Open
Description
function completely replaces the location, but should replace the "hash" field
onMapMove: function() {
// bail if we're moving the map (updating from a hash),
// or if the map is not yet loaded
if (this.movingMap || !this.map._loaded) {
return false;
}
var hash = this.formatHash(this.map);
if (this.lastHash != hash) {
location.replace(hash); - **right here**
this.lastHash = hash;
}
}
Can we change it to location.hash = hash;?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels