2 * Class: OpenLayers.Layer.OSM.Mapnik
5 * - <OpenLayers.Layer.OSM>
7 OpenLayers.Layer.OSM.Mapnik = OpenLayers.Class(OpenLayers.Layer.OSM, {
9 * Constructor: OpenLayers.Layer.OSM.Mapnik
13 * options - {Object} Hashtable of extra options to tag onto the layer
15 initialize: function(name, options) {
17 "http://a.tile.openstreetmap.org/${z}/${x}/${y}.png",
18 "http://b.tile.openstreetmap.org/${z}/${x}/${y}.png",
19 "http://c.tile.openstreetmap.org/${z}/${x}/${y}.png"
21 options = OpenLayers.Util.extend({
24 transitionEffect: "resize"
26 var newArguments = [name, url, options];
27 OpenLayers.Layer.OSM.prototype.initialize.apply(this, newArguments);
30 CLASS_NAME: "OpenLayers.Layer.OSM.Mapnik"
34 * Class: OpenLayers.Layer.OSM.CycleMap
37 * - <OpenLayers.Layer.OSM>
39 OpenLayers.Layer.OSM.CycleMap = OpenLayers.Class(OpenLayers.Layer.OSM, {
41 * Constructor: OpenLayers.Layer.OSM.CycleMap
45 * options - {Object} Hashtable of extra options to tag onto the layer
47 initialize: function(name, options) {
49 "http://a.tile.opencyclemap.org/cycle/${z}/${x}/${y}.png",
50 "http://b.tile.opencyclemap.org/cycle/${z}/${x}/${y}.png",
51 "http://c.tile.opencyclemap.org/cycle/${z}/${x}/${y}.png"
53 options = OpenLayers.Util.extend({
56 transitionEffect: "resize"
58 var newArguments = [name, url, options];
59 OpenLayers.Layer.OSM.prototype.initialize.apply(this, newArguments);
62 CLASS_NAME: "OpenLayers.Layer.OSM.CycleMap"
66 * Class: OpenLayers.Layer.OSM.TransportMap
69 * - <OpenLayers.Layer.OSM>
71 OpenLayers.Layer.OSM.TransportMap = OpenLayers.Class(OpenLayers.Layer.OSM, {
73 * Constructor: OpenLayers.Layer.OSM.TransportMap
77 * options - {Object} Hashtable of extra options to tag onto the layer
79 initialize: function(name, options) {
81 "http://a.tile2.opencyclemap.org/transport/${z}/${x}/${y}.png",
82 "http://b.tile2.opencyclemap.org/transport/${z}/${x}/${y}.png",
83 "http://c.tile2.opencyclemap.org/transport/${z}/${x}/${y}.png"
85 options = OpenLayers.Util.extend({
88 transitionEffect: "resize"
90 var newArguments = [name, url, options];
91 OpenLayers.Layer.OSM.prototype.initialize.apply(this, newArguments);
94 CLASS_NAME: "OpenLayers.Layer.OSM.TransportMap"