Dodaj marker na mapie geocoder wyników mapbox

geocoder.on('result', function(e) {
  var marker = new mapboxgl.Marker({ draggable: true, color: "pink" })
    .setLngLat(e.result.center)
    .addTo(map)
});
Old-fashioned Orangutan