You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We are working on a project with sub-tasks to improve the overall accessibility of the E-mission app UI. We've discovered that the Leaflet map cannot display the start & end location for each trip segment in an accessible manner. Since this is a very short 10-week project, we've decided to add the text display of the start & end location for each trip segment. A UI prototype below:
To display the start & end location information for each trip segment, we've added the following
in www/js/diary/services.js.points2Geojson():
var start_place_name_res = {name: "dummy start place"};
var end_place_name_res = {name: "dummy end place"};
CommonGraph.getSectionDisplayName(startPoint.data.latitude, startPoint.data.longitude, start_place_name_res);
CommonGraph.getSectionDisplayName(endPoint.data.latitude, endPoint.data.longitude, end_place_name_res);
These additions work pretty well with the unprocessed trips. However, we noticed that the UI was broken after the trips are segmented. After checking the e-mission-server code, we discovered that the section.py wrapper only wraps formatted information in the original E-mission UI. Hence my question is:
What are the necessary changes to add to the e-mission server to add/preserve the start & end location for each trip segment?
Given that our current server instance is based on the e-mission-server GIS branch, how can we add our own branch after making the necessary changes?
The text was updated successfully, but these errors were encountered:
Hello,
We are working on a project with sub-tasks to improve the overall accessibility of the E-mission app UI. We've discovered that the Leaflet map cannot display the start & end location for each trip segment in an accessible manner. Since this is a very short 10-week project, we've decided to add the text display of the start & end location for each trip segment. A UI prototype below:
To display the start & end location information for each trip segment, we've added the following
in
www/js/diary/services.js.points2Geojson()
:in
www/js/diary/detail.js
:These additions work pretty well with the unprocessed trips. However, we noticed that the UI was broken after the trips are segmented. After checking the
e-mission-server
code, we discovered that the section.py wrapper only wraps formatted information in the original E-mission UI. Hence my question is:The text was updated successfully, but these errors were encountered: