Skip to content

Instantly share code, notes, and snippets.

@patrickarlt
Created April 3, 2012 21:11
Show Gist options
  • Save patrickarlt/2295530 to your computer and use it in GitHub Desktop.
Save patrickarlt/2295530 to your computer and use it in GitHub Desktop.
mapQuest = new L.TileLayer("http://{s}.mqcdn.com/tiles/1.0.0/osm/{z}/{x}/{y}.png", {
maxZoom: 18,
subdomains: ['otile1','otile2','otile3','otile4']
});
mapBox = new L.TileLayer("http://{s}.tiles.mapbox.com/v3/mapbox.mapbox-streets/{z}/{x}/{y}.png", {
maxZoom: 18,
subdomains: ['a','b','c','d']
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment