Changeset e5365c1 in osmose-frontend


Ignore:
Timestamp:
Nov 24, 2012 8:41:32 PM (4 years ago)
Author:
Frédéric Rodrigo <frodrigo@…>
Branches:
master
Children:
5811459
Parents:
d3faee4
git-author:
Frédéric Rodrigo <frodrigo@…> (24/11/2012 19:26:19)
git-committer:
Frédéric Rodrigo <frodrigo@…> (24/11/2012 20:41:32)
Message:

Move Headmap into menu

File:
1 edited

Legend:

Unmodified
Added
Removed
  • static/map/map.js

    r8390d78 re5365c1  
    5555    }); 
    5656    map.addLayer(bing); 
    57  
    58     heat = new OpenLayers.Layer.OSM("Heatmap", ["heat/${z}/${x}/${y}.png"], { 
    59         transitionEffect: 'resize', 
    60         isBaseLayer: false, 
    61     }); 
    62     map.addLayer(heat); 
    6357 
    6458    //var layerTilesAtHome = new OpenLayers.Layer.OSM.Osmarender("Osmarender"); 
     
    118112    map.addLayers(layers); 
    119113 
     114    heat = new OpenLayers.Layer.OSM("Osmose Errors Heatmap", ["heat/${z}/${x}/${y}.png"], { 
     115        transitionEffect: 'resize', 
     116        isBaseLayer: false, 
     117    }); 
     118    map.addLayer(heat); 
     119 
    120120    /* Must be the last layers so that markers are above any other layers */ 
    121     pois = new OpenLayers.Layer.DynPoi("Erreurs Osmose", { 
     121    pois = new OpenLayers.Layer.DynPoi("Osmose Errors", { 
    122122        location: "markers", 
    123123        projection: new OpenLayers.Projection("EPSG:4326") 
Note: See TracChangeset for help on using the changeset viewer.