Ignore:
Timestamp:
May 12, 2011, 1:58:07 PM (14 years ago)
Author:
rick
Message:

I might be a bit biased, feel free to revert. But disable the original heatmap
generator by default.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/django_gheat/website/static/heatmap.js

    r9186 r9190  
    3131        layerMapnik = new OpenLayers.Layer.OSM.Mapnik("Mapnik");
    3232        map.addLayer(layerMapnik);
    33         layerHeatmap = new OpenLayers.Layer.OSM.Overlay1("Overlay 1", {isBaseLayer: false, visibility: true});
    34         map.addLayer(layerHeatmap);
    3533
    3634        layerHeatmap2 = new OpenLayers.Layer.OSM.Overlay2("All Access points", {isBaseLayer: false, visibility: true});
     
    3937        layerHeatmap3 = new OpenLayers.Layer.OSM.Overlay3("Wireless Leiden Only", {isBaseLayer: false, visibility: true});
    4038        map.addLayer(layerHeatmap3);
     39
     40        layerHeatmap = new OpenLayers.Layer.OSM.Overlay1("Original Heatmap generator", {isBaseLayer: false, visibility: false});
     41        map.addLayer(layerHeatmap);
    4142       
    4243        var lon   = 4.48907;
Note: See TracChangeset for help on using the changeset viewer.