]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/dev/files/default/ooc/openlayers/OOC.js
Use pyproj to project coordinates
[chef.git] / cookbooks / dev / files / default / ooc / openlayers / OOC.js
index e84251e497861614df1130f4524ee868792740da..10496a4f8449e93402fe401b6e00189beefbc0b9 100644 (file)
@@ -22,9 +22,9 @@ OpenLayers.Layer.NPE = OpenLayers.Class(OpenLayers.Layer.XYZ, {
      */
     initialize: function(name, options) {
         var url = [
-            "http://a.ooc.openstreetmap.org/npe/${z}/${x}/${y}.png",
-            "http://b.ooc.openstreetmap.org/npe/${z}/${x}/${y}.png",
-            "http://c.ooc.openstreetmap.org/npe/${z}/${x}/${y}.png"
+            "https://a.ooc.openstreetmap.org/npe/${z}/${x}/${y}.png",
+            "https://b.ooc.openstreetmap.org/npe/${z}/${x}/${y}.png",
+            "https://c.ooc.openstreetmap.org/npe/${z}/${x}/${y}.png"
         ];
         options = OpenLayers.Util.extend({
             numZoomLevels: 16,
@@ -57,9 +57,9 @@ OpenLayers.Layer.OS7 = OpenLayers.Class(OpenLayers.Layer.XYZ, {
      */
     initialize: function(name, options) {
         var url = [
-            "http://a.ooc.openstreetmap.org/os7/${z}/${x}/${y}.jpg",
-            "http://b.ooc.openstreetmap.org/os7/${z}/${x}/${y}.jpg",
-            "http://c.ooc.openstreetmap.org/os7/${z}/${x}/${y}.jpg"
+            "https://a.ooc.openstreetmap.org/os7/${z}/${x}/${y}.jpg",
+            "https://b.ooc.openstreetmap.org/os7/${z}/${x}/${y}.jpg",
+            "https://c.ooc.openstreetmap.org/os7/${z}/${x}/${y}.jpg"
         ];
         options = OpenLayers.Util.extend({
             numZoomLevels: 15,
@@ -92,9 +92,9 @@ OpenLayers.Layer.OS1 = OpenLayers.Class(OpenLayers.Layer.XYZ, {
      */
     initialize: function(name, options) {
         var url = [
-            "http://a.ooc.openstreetmap.org/os1/${z}/${x}/${y}.jpg",
-            "http://b.ooc.openstreetmap.org/os1/${z}/${x}/${y}.jpg",
-            "http://c.ooc.openstreetmap.org/os1/${z}/${x}/${y}.jpg"
+            "https://a.ooc.openstreetmap.org/os1/${z}/${x}/${y}.jpg",
+            "https://b.ooc.openstreetmap.org/os1/${z}/${x}/${y}.jpg",
+            "https://c.ooc.openstreetmap.org/os1/${z}/${x}/${y}.jpg"
         ];
         options = OpenLayers.Util.extend({
             numZoomLevels: 18,
@@ -127,9 +127,9 @@ OpenLayers.Layer.NPEScotland = OpenLayers.Class(OpenLayers.Layer.XYZ, {
      */
     initialize: function(name, options) {
         var url = [
-            "http://a.ooc.openstreetmap.org/npescotland/${z}/${x}/${y}.jpg",
-            "http://b.ooc.openstreetmap.org/npescotland/${z}/${x}/${y}.jpg",
-            "http://c.ooc.openstreetmap.org/npescotland/${z}/${x}/${y}.jpg"
+            "https://a.ooc.openstreetmap.org/npescotland/${z}/${x}/${y}.jpg",
+            "https://b.ooc.openstreetmap.org/npescotland/${z}/${x}/${y}.jpg",
+            "https://c.ooc.openstreetmap.org/npescotland/${z}/${x}/${y}.jpg"
         ];
         options = OpenLayers.Util.extend({
             numZoomLevels: 16,