Skip to content

Commit

Permalink
Add marker on location map
Browse files Browse the repository at this point in the history
  • Loading branch information
nathanfranklin committed Dec 17, 2023
1 parent 0d3dd86 commit 12b6899
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions angular/src/app/utils/questionnaireBuilder.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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}'
Expand Down

0 comments on commit 12b6899

Please sign in to comment.