how to replace circle with icon in L.circleMarker
var style_station = {
radius: 12,
stroke:false,
weight: 1,
opacity: 1,
fillOpacity: 1,
// color: '#00ABDC',
};
$.getJSON("url", function(stationexits){ exitlayer = L.geoJson(stationexits, { onEachFeature: onEachStation, pointToLayer: function (feature, latlng) { return L.circleMarker(latlng, style_station); } });
You will have to return a L.Marker
Only then will you be able to set your own icon.