X-Git-Url: https://dev.renevier.net/gitweb.cgi?a=blobdiff_plain;f=public%2Fjs%2Fsyj.js;h=85db31ac775e901508f4b65116bf498449d94fcb;hb=1c81f27d068e82e2ad4b6f6617f85d3e8413267e;hp=78d7606afe2276634e0db2b6227bb40cf591f22e;hpb=6633e95b89c1d1eba9b7b0e612becaf11b085d69;p=syj.git 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,