sztanko/crosslet — pull request #3 by Cyrille37 (2013-05-23 20:52:59+00:00)
Title: Add tile server url option

Hi,
Here is a very simple patch that permits the choice of the tile server. It just add a "url" option to map.leaflet configuration and use it at TileLayer creation.

I think it's nice to offer this option to avoid the need of a cloudmade API key.
For exemple, I use the tile server url "http://{s}.tile.openstreetmap.fr/osmfr/{z}/{x}/{y}.png" and set the attribution to "Map data © OpenStreetMap contributors, ODbL, Imagery © OSM_Fr"