4 OpenLayers.Util.OOC = {};
7 * @requires OpenLayers/Layer/XYZ.js
9 * Class: OpenLayers.Layer.NPE
12 * - <OpenLayers.Layer.XYZ>
14 OpenLayers.Layer.NPE = OpenLayers.Class(OpenLayers.Layer.XYZ, {
16 * Constructor: OpenLayers.Layer.NPE
21 * options - {Object} Hashtable of extra options to tag onto the layer
23 initialize: function(name, options) {
25 "https://a.ooc.openstreetmap.org/npe/${z}/${x}/${y}.png",
26 "https://b.ooc.openstreetmap.org/npe/${z}/${x}/${y}.png",
27 "https://c.ooc.openstreetmap.org/npe/${z}/${x}/${y}.png"
29 options = OpenLayers.Util.extend({
31 transitionEffect: "resize",
32 sphericalMercator: true
34 var newArguments = [name, url, options];
35 OpenLayers.Layer.XYZ.prototype.initialize.apply(this, newArguments);
38 CLASS_NAME: "OpenLayers.Layer.NPE"
42 * @requires OpenLayers/Layer/XYZ.js
44 * Class: OpenLayers.Layer.OS7
47 * - <OpenLayers.Layer.XYZ>
49 OpenLayers.Layer.OS7 = OpenLayers.Class(OpenLayers.Layer.XYZ, {
51 * Constructor: OpenLayers.Layer.OS7
56 * options - {Object} Hashtable of extra options to tag onto the layer
58 initialize: function(name, options) {
60 "https://a.ooc.openstreetmap.org/os7/${z}/${x}/${y}.jpg",
61 "https://b.ooc.openstreetmap.org/os7/${z}/${x}/${y}.jpg",
62 "https://c.ooc.openstreetmap.org/os7/${z}/${x}/${y}.jpg"
64 options = OpenLayers.Util.extend({
66 transitionEffect: "resize",
67 sphericalMercator: true
69 var newArguments = [name, url, options];
70 OpenLayers.Layer.XYZ.prototype.initialize.apply(this, newArguments);
73 CLASS_NAME: "OpenLayers.Layer.OS7"
77 * @requires OpenLayers/Layer/XYZ.js
79 * Class: OpenLayers.Layer.OS1
82 * - <OpenLayers.Layer.XYZ>
84 OpenLayers.Layer.OS1 = OpenLayers.Class(OpenLayers.Layer.XYZ, {
86 * Constructor: OpenLayers.Layer.OS1
91 * options - {Object} Hashtable of extra options to tag onto the layer
93 initialize: function(name, options) {
95 "https://a.ooc.openstreetmap.org/os1/${z}/${x}/${y}.jpg",
96 "https://b.ooc.openstreetmap.org/os1/${z}/${x}/${y}.jpg",
97 "https://c.ooc.openstreetmap.org/os1/${z}/${x}/${y}.jpg"
99 options = OpenLayers.Util.extend({
101 transitionEffect: "resize",
102 sphericalMercator: true
104 var newArguments = [name, url, options];
105 OpenLayers.Layer.XYZ.prototype.initialize.apply(this, newArguments);
108 CLASS_NAME: "OpenLayers.Layer.OS1"
112 * @requires OpenLayers/Layer/XYZ.js
114 * Class: OpenLayers.Layer.NPEScotland
117 * - <OpenLayers.Layer.XYZ>
119 OpenLayers.Layer.NPEScotland = OpenLayers.Class(OpenLayers.Layer.XYZ, {
121 * Constructor: OpenLayers.Layer.NPEScotland
126 * options - {Object} Hashtable of extra options to tag onto the layer
128 initialize: function(name, options) {
130 "https://a.ooc.openstreetmap.org/npescotland/${z}/${x}/${y}.jpg",
131 "https://b.ooc.openstreetmap.org/npescotland/${z}/${x}/${y}.jpg",
132 "https://c.ooc.openstreetmap.org/npescotland/${z}/${x}/${y}.jpg"
134 options = OpenLayers.Util.extend({
136 transitionEffect: "resize",
137 sphericalMercator: true
139 var newArguments = [name, url, options];
140 OpenLayers.Layer.XYZ.prototype.initialize.apply(this, newArguments);
143 CLASS_NAME: "OpenLayers.Layer.NPEScotland"