BiologicalRecordsCentre / ABLE

Assessing ButterfLies in Europe project repository
2 stars 3 forks source link

Issue: Clicking on project location does not zoom in on project location on the map #695

Open maudbv opened 5 months ago

maudbv commented 5 months ago

Describe the issue

Project locations all have a different specific GPS point attached (see attached first screenshot - I expect these correspond to where the phone was when the location was created?). However, when selecting one, the map zooms in always on the current GPS location of where I am currently standing (see second screenshot), even if I toggle off the "GPS" option.

Expected behaviour

When selecting a project location in the list, the map should zoom in on the coordinates of the location (and show them with an icon of some sort), as defined by the specific coordinate associated to the site (see again first screenshot), rather than the current phone location. This allows one to check that the site one has selected is really the one one wants/is currently standing in for the survey.

To Reproduce

  1. start a survey
  2. assign it to a project
  3. click on "Area"
  4. select a project location from the list
  5. The map zooms to the current GPS location, not the project location coordinates.

App Version

1.26.0 (344)

Device

iPhone SE

When did this happen

19.06.2024

Screenshots

IMG_1554 IMG_1555

Additional context

I have submitted another issue concerning project location coordinates (#694), but this one is actually more essential and I am hoping easier to implement?

Thanks!!

kazlauskis commented 5 months ago

@maudbv This would be a good improvement. At the same time, the app could show the selected polygon on the map.

maudbv commented 5 months ago

@kazlauskis yes! That would indeed be the absolute best :)

kazlauskis commented 5 months ago

@maudbv, that's great, but just so you know, I won't have the capacity to work on this now. We could potentially do it for the next field season, but I'll leave this to others to prioritise.

maudbv commented 5 months ago

@kazlauskis OK I understand! It would be great if we could see the sites on the website in the meantime :) @johnvanbreda