Changeset 9082 for src


Ignore:
Timestamp:
Apr 19, 2011, 11:52:05 AM (14 years ago)
Author:
dennisw
Message:

Added data Huub.

Location:
src/gheat
Files:
244 added
2 edited

Legend:

Unmodified
Added
Removed
  • src/gheat/script/OpenStreetMap.js

    r8990 r9082  
    133133            "http://f.tah.openstreetmap.org/Tiles/maplint/${z}/${x}/${y}.png"
    134134        ];
    135         options = OpenLayers.Util.extend({ numZoomLevels: 18, isBaseLayer: false, visibility: false }, options);
     135        options = OpenLayers.Util.extend({ numZoomLevels: 16, isBaseLayer: false, visibility: false }, options);
    136136        var newArguments = [name, url, options];
    137137        OpenLayers.Layer.OSM.prototype.initialize.apply(this, newArguments);
     
    145145    initialize: function(name, options) {
    146146        var url = [
    147             "overlay_1/${z}/${x},${y}.png"
     147            "huub_1/${z}/${x},${y}.png"
    148148        ];
    149         options = OpenLayers.Util.extend({ numZoomLevels: 19 }, options);
     149        options = OpenLayers.Util.extend({ numZoomLevels: 16 }, options);
    150150        var newArguments = [name, url, options];
    151151        OpenLayers.Layer.OSM.prototype.initialize.apply(this, newArguments);
     
    158158    initialize: function(name, options) {
    159159        var url = [
    160             "overlay_2/${z}/${x},${y}.png"
     160            "huub_2/${z}/${x},${y}.png"
    161161        ];
    162         options = OpenLayers.Util.extend({ numZoomLevels: 19 }, options);
     162        options = OpenLayers.Util.extend({ numZoomLevels: 16 }, options);
    163163        var newArguments = [name, url, options];
    164164        OpenLayers.Layer.OSM.prototype.initialize.apply(this, newArguments);
     
    167167    CLASS_NAME: "OpenLayers.Layer.Overlay2"
    168168});
     169
     170OpenLayers.Layer.OSM.Overlay3 = OpenLayers.Class(OpenLayers.Layer.OSM, {
     171    initialize: function(name, options) {
     172        var url = [
     173            "huub_3/${z}/${x},${y}.png"
     174        ];
     175        options = OpenLayers.Util.extend({ numZoomLevels: 16 }, options);
     176        var newArguments = [name, url, options];
     177        OpenLayers.Layer.OSM.prototype.initialize.apply(this, newArguments);
     178    },
     179
     180    CLASS_NAME: "OpenLayers.Layer.Overlay3"
     181});
  • src/gheat/script/heatmap.js

    r8990 r9082  
    1717        layerMapnik = new OpenLayers.Layer.OSM.Mapnik("Mapnik");
    1818        map.addLayer(layerMapnik);
    19         layerHeatmap = new OpenLayers.Layer.OSM.Overlay1("Overlay_1", {isBaseLayer: false, visibility: true});
     19        layerHeatmap = new OpenLayers.Layer.OSM.Overlay1("Huub_1", {isBaseLayer: false, visibility: true});
    2020        map.addLayer(layerHeatmap);
    21         layerHeatmap = new OpenLayers.Layer.OSM.Overlay2("Overlay_2", {isBaseLayer: false, visibility: true});
     21        layerHeatmap = new OpenLayers.Layer.OSM.Overlay2("Huub_2", {isBaseLayer: false, visibility: true});
     22        map.addLayer(layerHeatmap);
     23        layerHeatmap = new OpenLayers.Layer.OSM.Overlay3("Huub_3", {isBaseLayer: false, visibility: true});
    2224        map.addLayer(layerHeatmap);
    2325       
Note: See TracChangeset for help on using the changeset viewer.