Changeset 9401 for src/django_gheat/wlheatmap/static/OpenStreetMap.js
- Timestamp:
- Jul 12, 2011, 7:59:51 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/django_gheat/wlheatmap/static/OpenStreetMap.js
r9382 r9401 196 196 OpenLayers.Layer.OSM.Overlay4 = OpenLayers.Class(OpenLayers.Layer.OSM, { 197 197 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'); 199 199 options = OpenLayers.Util.extend({ numZoomLevels: 21 }, options); 200 200 var newArguments = [name, url, options]; 201 201 OpenLayers.Layer.OSM.prototype.initialize.apply(this, newArguments); 202 202 }, 203 colour: " 250,250,0",203 colour: "50,150,50", 204 204 CLASS_NAME: "OpenLayers.Layer.Overlay" 205 205 });
Note:
See TracChangeset
for help on using the changeset viewer.