X-Git-Url: https://dev.renevier.net/?p=syj.git;a=blobdiff_plain;f=public%2Fjs%2Fsyj.js;h=85db31ac775e901508f4b65116bf498449d94fcb;hp=78d7606afe2276634e0db2b6227bb40cf591f22e;hb=d52fa81549b32a16a59b17732adb19a0c6559cc1;hpb=8f53507b26e10f259abcd19a8ca3486b9a0bd6a8 diff --git a/public/js/syj.js b/public/js/syj.js index 78d7606..85db31a 100644 --- a/public/js/syj.js +++ b/public/js/syj.js @@ -288,7 +288,11 @@ var SYJView = { theme: null }); - baseLayer = new OpenLayers.Layer.OSM("OSM", null, { wrapDateLine: true , attribution: SyjStrings.osmAttribution }); + baseLayer = new OpenLayers.Layer.OSM("OSM", [ + 'http://a.tile.openstreetmap.org/${z}/${x}/${y}.png', + 'http://b.tile.openstreetmap.org/${z}/${x}/${y}.png', + 'http://c.tile.openstreetmap.org/${z}/${x}/${y}.png'], + { wrapDateLine: true , attribution: SyjStrings.osmAttribution }); layerOptions = {format: OpenLayers.Format.WKT, projection: WGS84,