javascript - Change colour of L.circleMarker() -


it's simple solution, i'd change colour of l.circlemarkers blue green. based on documentation, says can pass options object change things such colour. tried this:

return l.circlemarker(ll, {radius: number}, '#006600'); 

passing hex colour code green. tried create actual object this:

var optionsobject = {color: "#006600"}; 

none of methods tried work. i'm relatively new javascript , mapbox, , appreciate if me out. thanks!

turns out can like:

return l.circlemarker(ll, {radius: number, color: '#006600'}); 

Comments