axyjo/leaflet-rails — pull request #28 by reignmaker (2014-06-19 07:39:55+00:00)
Title: Pass any aditional args to L.tileLayer

I think it's good option to pass any additional parameters to L.tileLayer. For example if i want to use mapbox.com maps i have to proved a MapId: `http://{s}.tiles.mapbox.com/v3/MapID/{z}/{x}/{y}.png`
```
L.tileLayer('http://{s}.tiles.mapbox.com/v3/{id}/{z}/{x}/{y}.png', {
attribution: 'Map data © OpenStreetMap contributors, CC-BY-SA, Imagery © Mapbox',
maxZoom: 18,
id: 'examples.map-i86knfo3'
}).addTo(map);
```