Mapbox Integration

Here is a quick code sample that demonstrates how to use our map markers with Mapbox.

var markerElement = document.createElement('div'); = "url('')"; = '50px'; = '50px';

var marker = new mapboxgl.Marker(

        // define an anchor point at the bottom middle of pin markers to avoid visual shift during zooms
        // for non-pin style markers, you probably won't need this
        {offset: [-25, 50]}
    .setLngLat([-65.017, -16.457])