Skip to content

Creating map with a location does not find the right address or lat,long point #4

@timjcook

Description

@timjcook
  • Have an address that is correct, right name and point according to geocomplete.js in our Frontend App.
  • Edit an object that creates a map to visualise the point saved, but the lat,lng point and address update to something different to what is stored in the DB
  • We think that when the form is populated with the current values of the object:
    • this line kicks in and sets the map to the point required.
    • that then updates the address with what google deems as correct for that location (different to what we have stored) and changes the address field
    • when the address field is changed the standard geocomplete function is triggered and the new address is searched which returns a different set of coordinates.
    • the result is that for some addresses an address and coordinates different to the DB are shown on the form.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions