No description
abrensch/brouter@c9ae7c8681 changed indexing of voice hint ids, because some new hints were inserted in the middle instead of strictly at the end, changing the numbering of existing ids. For example, now id `12` was sent to indicate a right u-turn, while we still assume the old meaning of `12`, i.e. "off route". This clearly was an API break. This leads us to abort exporting with the Gpsies turn instructions style, since `OFFR` has an `undefined` symbol assigned, as well as emitting wrong voice hints for ids after `9`. Another unwelcome side effect is showing negative exit numbers for roundabouts. This breakage in the GeoJSON HTTP API has been shipping in BRouter 1.7.0 and 1.7.1 and finally got fixed with abrensch/brouter@82fecf9 contained in BRouter 1.7.2 or later. Earlier releases like 1.6.3 are also unaffected. To avoid emitting incorrect voice hints in BRouter-Web, running with broken versions of BRouter should be avoided. By checking the "Creator" field after receiving the first response from BRouter, we can now emit a warning if the version of BRouter used is unsupported. The warning mostly targets administrators and power users, i.e. those responsible for choosing the software versions used, and it is also only shown once per session. Note that the version check is compatible with the common "SemVer" scheme, so the check should continue working and even support more complex version compatibility scenarios as long as BRouter stays SemVer-compliant. Ref #751 Test Plan: - Run with BRouter 1.6.3 and 1.7.2, no warnings shown. - Run with BRouter 1.7.0 and 1.7.1, warnings shown only for the first segment. |
||
|---|---|---|
| .github/workflows | ||
| .husky | ||
| .tx | ||
| .vscode | ||
| css | ||
| js | ||
| layers | ||
| locales | ||
| resources | ||
| tests | ||
| .eslintignore | ||
| .eslintrc.json | ||
| .gitignore | ||
| .prettierignore | ||
| .prettierrc | ||
| babel.config.js | ||
| CHANGELOG.md | ||
| config.template.js | ||
| CONTRIBUTING.md | ||
| docker-compose.yml | ||
| Dockerfile | ||
| gulpfile.js | ||
| index.html | ||
| INSTALL.md | ||
| keys.template.js | ||
| LICENSE | ||
| package.json | ||
| README.md | ||
| renovate.json | ||
| yarn.lock | ||
brouter-web
Web client (by @nrenner and contributors) for the BRouter routing engine (by @abrensch).
Instances:
- brouter.de/brouter-web (provided by @abrensch)
- brouter.damsy.net (provided by @bagage)
This repository is only about the frontend.
For the server/backend, BRouter routing engine, Android app, profiles, brouter.de site, see:
https://github.com/abrensch/brouter
More information:
https://brouter.de
Contact
General BRouter discussions/questions, support:
Translating
Translations are managed using the Transifex platform. After signing up, you can go to BRouter's project page, select a language and click Translate to start translating.
Installation
See INSTALL.md for guidance on installation.
Build
See CONTRIBUTING.md for development documentation.
License
Copyright (c) 2018 Norbert Renner and contributors, licensed under the MIT License (MIT)
Credits and Licenses
- BRouter (not included)
by abrensch; MIT License - Leaflet
Copyright (c) 2010-2014, Vladimir Agafonkin; Copyright (c) 2010-2011, CloudMade; 2-clause BSD License - leaflet-routing
Copyright (c) 2013, Turistforeningen, Hans Kristian Flaatten. All rights reserved. 2-clause BSD License - Leaflet.Elevation
Copyright (c) 2013 Felix Bache; MIT License - D3.js
Copyright (c) 2013, Michael Bostock. All rights reserved.; 3-clause BSD License - Leaflet.Editable
Yohan Boniface; WTFPL licence - Leaflet Control Geocoder
Copyright (c) 2012 sa3m, Copyright (c) 2013 Per Liedman; 2-clause BSD License - leaflet-plugins
Copyright (c) 2011-2012, Pavel Shramov; 2-clause BSD License - Async.js
Copyright (c) 2010-2014 Caolan McMahon; MIT License - Bootstrap
Copyright (c) 2011-2014 Twitter, Inc; MIT License - jQuery
Copyright 2005, 2014 jQuery Foundation and other contributors; MIT License - DataTables
Copyright (C) 2008-2014, SpryMedia Ltd.; MIT License - Leaflet.EasyButton
Copyright (C) 2014 Daniel Montague; MIT License - Bootbox
Copyright (C) 2011-2014 by Nick Payne; MIT License - bootstrap-slider
Copyright (c) 2015 Kyle Kemp, Rohit Kalkur, and contributors; MIT License - Leaflet.RestoreView
Copyright (c) 2012 Makina Corpus, MIT License - Leaflet.Locate
Copyright (c) 2014 Dominik Moritz, MIT License - Font Awesome
by Dave Gandy; SIL OFL 1.1 (Font), MIT License (Code), CC BY 3.0 (Documentation) - url-search-params
Copyright (C) 2015-2017 Andrea Giammarchi - @WebReflection; MIT License - bootstrap-select
Copyright (c) 2012-2018 SnapAppointments, LLC; MIT License - leaflet-sidebar-v2
Copyright (c) 2013 Tobias Bieniek; MIT License - CodeMirror
Copyright (C) 2017 by Marijn Haverbeke marijnh@gmail.com and others; MIT License - Map BBCode
Ilya Zverev; Do What The F*ck You Want To Public License - Leafet.StravaSegments
Copyright (c) 2018 Gautier Pelloux-Prayer; MIT License - polyline
Copyright (c), Development Seed; BSD 3-Clause License - leaflet-fullHash
Copyright (c) 2014 KoGor; MIT License - Turf.js
Copyright (c) 2019 Morgan Herlocker; MIT License - i18next, i18next-browser-languageDetector, i18next-xhr-backend, jquery-i18next
Copyright (c) 2017 i18next; MIT License - Leaflet TriangleMarker
Copyright (c) 2018 Przemysław Melnarowicz; MIT License - jsTree
Copyright (c) 2014 Ivan Bozhanov; MIT License - Leaflet.snogylop
Copyright (c) 2014 Eric Brelsford; MIT License - JOSM maps
imagery database is licensed under CC-BY-SA - LayersCollection
Copyright (c) 2016 Eduard <edward17>; MIT License - Leaflet-providers
Copyright (c) 2013 Leaflet Providers contributors All rights reserved.; 2-clause BSD License - Leaflet.FileLayer
Copyright (c) 2012 Makina Corpus; MIT License - togeojson
Copyright (c) 2016 Mapbox All rights reserved.; 2-clause BSD License - Leaflet.GeometryUtil
Copyright (c) 2013, Makina Corpus; BSD 3-Clause License - leaflet-distance-markers
Copyright (c) 2014- Doroszlai Attila, 2016- Phil Whitehurst; MIT License - Leaflet.hotline
Copyright (c) 2015, iosphere GmbH, Jonas Coch; 3-clause BSD License - Babel
Copyright (c) 2014-present Sebastian McKenzie and other contributors; MIT License - core-js
Copyright (c) 2014-2021 Denis Pushkarev; MIT License - regenerator-runtime
Copyright (c) 2014-present, Facebook, Inc.; MIT License - tokml
Copyright (c) 2015, Mapbox All rights reserved; BSD-2-Clause License - Jest
Copyright (c) Facebook, Inc. and its affiliates; MIT License - overpass-layer Copyright (c) 2020 Stephan Bösch-Plepelits; MIT License
- maki CC0-1.0 License
- temaki CC0-1.0 License
- leaflet-osm-notes The Unlicense
- Fetch polyfill
Copyright (c) 2014-2016 GitHub, Inc.; MIT License - qrcodejs Copyright (c) 2012 davidshimjs The MIT License
- Bootstrap Icons Copyright (c) 2019-2023 The Bootstrap Authors The MIT License
- compare-versions Copyright (c) 2015-2021 Ole Michelsen The MIT License
