document.querySelector('mappy-element').locate('Lille'); document.querySelector('mappy-element').itinerary('Paris', 'Lyon');