Documentation

Bing Maps Integration

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

var map = new Microsoft.Maps.Map(document.getElementById('myMap'), {
    credentials: 'Your Bing Maps Key'
});

var pushpin = new Microsoft.Maps.Pushpin(map.getCenter(), { 
    icon: 'https://mapmarker.io/api/v2/font-awesome/v5/pin?icon=fa-star-solid&size=50&hoffset=0&voffset=-1',
    anchor: new Microsoft.Maps.Point(12, 39)
});

map.entities.push(pushpin);