MapkitJS Search with autocomplete results give wrong results

Hello,

For many autocomplete searches with mapkitJS SDK, when the user select one of the entries and we launch the mapkit search with the selected autocomplete result, the info returned by mapkitJS are completely wrong.


As an example:

- autocomplete search for "flor london"

- use the "1 Bedale Street, London, SE1 9AL, England" result to start the standard search

- the result will be Fort Lauderdale-Hollywood International Airport in Florida ....


An easy way to test this is to execute:

(new mapkit.Search()).autocomplete("flor london", function(err, res) {
     console.log(res.results);
     (new mapkit.Search()).search(res.results[0], function (err, res) {
          console.log(res);
     })
}, {region: mapkit.maps[0].region})

Replies

Our users are reporting it's happening for a lot of places! This is really a big issue as it makes the search features completely useless... Are we the only ones with this issue?

Is it something we do wrong?


Can anyone test with the provided example?

I would love to have some help here!


Thanks