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})