var osmUrl = 'http://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png', stamenUrl = 'http://{s}.tile.stamen.com/toner/{z}/{x}/{y}.png', attrib = '© Map tiles by Stamen Design, under CC BY 3.0 | OpenStreetMap contributors', main = L.tileLayer(stamenUrl, {maxZoom: 18, attribution: attrib}), map = new L.Map('map', { layers: [main], center: [55.7501, 37.6687], zoom: 11 }); var myIcon = L.icon({ iconUrl: 'bike.svg', iconSize: [75, 75], iconAnchor: [37.5, 75] }); L.marker([55.7501, 37.6687], {icon: myIcon}).addTo(map);