标记

const marker = new mapboxgl.Marker().setLngLat([30.5, 50.5]).addTo(map)

Marker:Add custom icons with Markers在新页面打开