Closed joaoluis-pdm closed 3 years ago
I probably have to add the display and sorting by clinicaltrial.travelDistance.
Once that is done, the same needs to be done on ctr-patient/patient-ssapp/code/scripts/controllers/MatchRequestNew60InfoController.js and ctr-patient/patient-ssapp/code/templates/matchrequestnew60info.html
added to display a map on (clinical trials match request): ctr-patient/patient-ssapp/code/scripts/controllers/MatchRequestNew60InfoController.js and ctr-patient/patient-ssapp/code/templates/matchrequestnew60info.html
Seems done! Thank you @pccosta-pdm .
The clickeable prototype specifies:
The current patient-ssapp v0.4.14 displays:
For example https://github.com/PharmaLedger-IMI/acdc-workspace/tree/master/backoffice-frontend/src/app/event-detail uses LeafletJS to display the map.
(To display the traveling distance, we must also solve the knowing of the current user position. At this time it is not clear if that is in-scope or out-of-scope of this issue).
This is also related to issue #14 (support multiple Clinical Sites), depends on what is fixed first, the scope is to display just a single ClinicalSite or multiple ClinicalSites. PDM proposal is to finish the MVP with support for a single ClinicalSite.