1 Reply
      Latest reply on Sep 9, 2019 1:32 AM by SebC99
      SebC99 Level 1 Level 1 (0 points)


        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) {
             (new mapkit.Search()).search(res.results[0], function (err, res) {
        }, {region: mapkit.maps[0].region})