map.loadImage('./images/city.png',function(error,image) {
if(error) throw error;
map.addImage('city',image);
map.addLayer({
id: 'points',
type: 'symbol',
source: {
type: 'geojson',
data: {}
},
layout: {
'icon-image': 'city',
'icon-size': 1
}
})
})