+ router.stateChange(state, hash);
+ };
+
+ router.moveListenerOn = function() {
+ map.on('moveend', router.updateHash);
+ };
+
+ router.moveListenerOff = function() {
+ map.off('moveend', router.updateHash);
+ };
+
+ router.load = function() {
+ var loadState = currentRoute.run('load', currentPath);
+ router.stateChange(loadState || {});