Use Osmose tiles API endpoint instead of issues

- Simplifies our code a little bit
- Quick to provide and gives us the `item` + `class` without requesting
all other information (the two things needed to know the error type)
- Removed handling of associated elements for now, need to implement
fetching for that data on a per-issue basis when the UI loads
- Set things up for the possibility of using the provided translation
strings (need to determine if desirable)

See: https://github.com/osm-fr/osmose-frontend/issues/193
This commit is contained in:
SilentSpike
2019-12-28 18:55:04 +00:00
parent 680fdb6b54
commit ebd206595a
3 changed files with 21 additions and 26 deletions
-1
View File
@@ -34,7 +34,6 @@
}
},
"osmose": {
"items": ["0", "1040", "1050", "1070", "1080", "1150", "1280"],
"errorTypes": {
"0-1": {
"icon": "maki-home"