Closed s-ol closed 8 months ago
Hi everybody
I confirm, I realized that our fablab is not present on the map, and trying to "Edit Lab Details" the map is not displayed and no error is returned in the console. https://fablabs.io/labs/fablabagrigento
Had some availability, and decided to investigate this issue as it seems to be widespread.
I resolved the problem, which brings back the autocomplete/map-marker functionality to the lab form. When you modify your lab, you can use “Step 1” to change the marker's location. The lat/lng values are also now visible on the form.
Next will create a script loop through all labs adding lat/lng values to all labs missing them that have address info set.
Describe the bug When adding or editing a Lab, in the "Lab Location" section the field in "Step 1" does not work. Typing anything into it does not cause a map to appear or the "Step 2" fields to be populated as the help text suggests.
This causes the long/lat fields of labs to be NULL, resulting in broken maps in the lab list as well.
To Reproduce Steps to reproduce the behavior:
Expected behavior A map should appear and/or the other fields should be populated.
Screenshots If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
Additional context There is no helpful errors in the JS console. To see an affected lab without coordinates, take a look at https://fablabs.io/labs/unitrento