Skip to content

Instantly share code, notes, and snippets.

@codewithtyler
Created June 9, 2016 11:13
Show Gist options
  • Save codewithtyler/058470e7d8a23dd8f71f18d4794fef23 to your computer and use it in GitHub Desktop.
Save codewithtyler/058470e7d8a23dd8f71f18d4794fef23 to your computer and use it in GitHub Desktop.
map = L.map("transitmap", {
center: [ 34.730225, -86.585944 ], // Huntsville, AL
zoom: 15
});
L.tileLayer("http://korona.geog.uni-heidelberg.de/tiles/roads/x={x}&y={y}&z={z}", {
attribution: "&copy; <a href='http://giscience.uni-hd.de/'>GIScience Research Group @ University of Heidelberg</a> © <a href='http://www.openstreetmap.org/copyright'>OpenStreetMap</a>",
maxZoom: 20
}).addTo( map );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment