map matching to ui