mapboard
mapboard copied to clipboard
Routing
Routing was mostly implemented by 6d5975b8d52f1e72dbd8d2102dba0b82955f49ef. The only thing left to do is push state to the History API.
Mapboard is now using the History API as of 5face64cc492b1a0e95d10d3022ace1486d7c011. A few outstanding issues:
- [ ] Implement
onpopstate
to get stored state from History API. Right now it's just re-geocoding (not efficient). - [ ] After clicking the back button, the forward button doesn't become enabled. This could be from replacing state rather than popping.