set markers attribute for leaflet