Skip to content

Bug: suggest and suggestWithCoords Return Incorrect Coordinates #11

@Hareb4

Description

@Hareb4

Issue

Both Suggest.suggest and Suggest.suggestWithCoords return incorrect coordinates where longitude (lon) is the same as latitude (lat). However, Search.searchByURI(uri) returns the correct coordinates.

Example Logs

LOG suggestionswcoords:  
{
  "center": { "lat": 55.7558, "lon": 55.7558 },
  "title": "Red Square, Moscow"
}
LOG findpointbyurl2:  
{
  "point": { "lat": 55.7558, "lon": 37.6173 }
}

🔴 Issue: lon should be 37.6173, but suggest returns 55.7558.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions