mirror of
https://github.com/gpxstudio/gpx.studio.git
synced 2025-09-02 08:42:31 +00:00
one more routing error
This commit is contained in:
@@ -390,6 +390,8 @@ export class RoutingControls {
|
|||||||
toast.error(get(_)("toolbar.routing.error.via"));
|
toast.error(get(_)("toolbar.routing.error.via"));
|
||||||
} else if (e.message.includes('to-position not mapped in existing datafile')) {
|
} else if (e.message.includes('to-position not mapped in existing datafile')) {
|
||||||
toast.error(get(_)("toolbar.routing.error.to"));
|
toast.error(get(_)("toolbar.routing.error.to"));
|
||||||
|
} else if (e.message.includes('Time-out')) {
|
||||||
|
toast.error(get(_)("toolbar.routing.error.timeout"));
|
||||||
} else {
|
} else {
|
||||||
toast.error(e.message);
|
toast.error(e.message);
|
||||||
}
|
}
|
||||||
|
@@ -81,7 +81,8 @@
|
|||||||
"error": {
|
"error": {
|
||||||
"from": "The start point is too far from the nearest road",
|
"from": "The start point is too far from the nearest road",
|
||||||
"via": "The via point is too far from the nearest road",
|
"via": "The via point is too far from the nearest road",
|
||||||
"to": "The end point is too far from the nearest road"
|
"to": "The end point is too far from the nearest road",
|
||||||
|
"timeout": "The routing request took too long, try adding points closer"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"time_tooltip": "Change the time and speed data",
|
"time_tooltip": "Change the time and speed data",
|
||||||
|
Reference in New Issue
Block a user