Ignore:
Timestamp:
Jul 12, 2011, 7:59:51 PM (13 years ago)
Author:
rick
Message:

Roads are yellow, so display yellow does not show properly. Make it go green.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/django_gheat/wlheatmap/static/OpenStreetMap.js

    r9382 r9401  
    196196OpenLayers.Layer.OSM.Overlay4 = OpenLayers.Class(OpenLayers.Layer.OSM, {
    197197  initialize: function(name, options) {
    198     var url = get_balanced_urls('http://', wl_balancers, '.maps.wirelessleiden.nl/wlheatmap/tile/${z}/${x},${y}.png?colour=250,250,0&signaal__gte=0&signaal__lte=100');
     198    var url = get_balanced_urls('http://', wl_balancers, '.maps.wirelessleiden.nl/wlheatmap/tile/${z}/${x},${y}.png?colour=50,150,50&signaal__gte=0&signaal__lte=100');
    199199    options = OpenLayers.Util.extend({ numZoomLevels: 21 }, options);
    200200    var newArguments = [name, url, options];
    201201    OpenLayers.Layer.OSM.prototype.initialize.apply(this, newArguments);
    202202  },
    203   colour: "250,250,0",
     203  colour: "50,150,50",
    204204  CLASS_NAME: "OpenLayers.Layer.Overlay"
    205205});
Note: See TracChangeset for help on using the changeset viewer.