Commit 1808d40e authored by Valentin Samir's avatar Valentin Samir

[wifimap] Official OSM tileset as protocol-independent URLs

parent cb9d541d
......@@ -48,7 +48,13 @@ WifiMap = {
// {transitionEffect: 'resize', numZoomLevels: 9});
// }
// else
this.layer = new OpenLayers.Layer.OSM("Campus de Cachan",null,
this.layer = new OpenLayers.Layer.OSM("Campus de Cachan",
// Official OSM tileset as protocol-independent URLs
[
'//a.tile.openstreetmap.org/${z}/${x}/${y}.png',
'//b.tile.openstreetmap.org/${z}/${x}/${y}.png',
'//c.tile.openstreetmap.org/${z}/${x}/${y}.png'
],
{transitionEffect: 'resize'});
//connexions = new OpenLayers.Layer.Vector("Interconnexions");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment