I have looked at a few other posts on here and none of them have been able to help me fix my issue.
I am adding a marker to my map using the following code:
var el = document.createElement('div');
el.className = 'marker';
new mapboxgl.Marker(el)
.setLngLat(Bounds)
.setPopup(new mapboxgl.Popup({offset: 25}) // add popups
.setHTML('<h3>' + 'test' + '</h3><p>' + 'add stuff here' + '</p>'))
.addTo(map);
I know that my lat/longs are correct because as seen in the attached picture the div is correctly showing up for the 'marker' in the console and on the map. Something is being whacky with my css. I currently have a class in my angular component css file titled .marker and another one titled .mapboxgl-marker but neither seem to be working correctly.
Any help with this is greatly appreciated!

setHTML? Is anything undefined? - roye7777777