diff --git a/angular/src/app/components/modal-questionnaire-viewer/modal-questionnaire-viewer.component.styl b/angular/src/app/components/modal-questionnaire-viewer/modal-questionnaire-viewer.component.styl index f1370afa..80ec2da4 100644 --- a/angular/src/app/components/modal-questionnaire-viewer/modal-questionnaire-viewer.component.styl +++ b/angular/src/app/components/modal-questionnaire-viewer/modal-questionnaire-viewer.component.styl @@ -233,6 +233,9 @@ position relative width 100% +::ng-deep .mapCanvas + width 100% + height 100% ::ng-deep p.locationQuestionDetails font-weight bold diff --git a/angular/src/app/utils/questionnaireBuilder.ts b/angular/src/app/utils/questionnaireBuilder.ts index 6c2d8ad0..48c16093 100644 --- a/angular/src/app/utils/questionnaireBuilder.ts +++ b/angular/src/app/utils/questionnaireBuilder.ts @@ -2711,6 +2711,7 @@ class LocationField extends Question { : -122.3353; const view_map = L.map(view_mode_map_canvas).setView([lat, lon], 16); + L.marker([lat, lon]).addTo(view_map); L.tileLayer( 'https://server.arcgisonline.com/ArcGIS/rest/services/World_Imagery/MapServer/tile/{z}/{y}/{x}'