currentRoute = routes.recognize(currentPath);
};
- map.on("moveend baselayerchange overlaylayerchange", router.updateHash);
+ map.on("moveend baselayerchange overlayadd overlayremove", router.updateHash);
$(window).on("hashchange", router.hashUpdated);
return router;