Changeset 9579 for src/django_gheat/wlheatmap/templates/js
- Timestamp:
- Aug 26, 2011, 8:54:24 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/django_gheat/wlheatmap/templates/js/LayerBase.js
r9549 r9579 168 168 OpenLayers.Layer.OSM.Overlay2 = OpenLayers.Class(OpenLayers.Layer.OSM, { 169 169 initialize: function(name, options) { 170 var url = get_balanced_urls('http://', {{ settings.DJANGO_CDN_DOMAINS|safe }}, '{{ settings.DJANGO_PREFIX }}/wlheatmap/tile/${z}/${x},${y}.png?colour=90,90,90'); 170 var url = get_balanced_urls('http://', {{ settings.DJANGO_CDN_DOMAINS|safe }}, 171 '{{ settings.DJANGO_PREFIX }}/wlheatmap/tile/${z}/${x},${y}.png?colour=90,90,90'); 171 172 options = OpenLayers.Util.extend({ numZoomLevels: 21 }, options); 172 173 var newArguments = [name, url, options]; … … 182 183 OpenLayers.Layer.OSM.Overlay3 = OpenLayers.Class(OpenLayers.Layer.OSM, { 183 184 initialize: function(name, options) { 184 var url = get_balanced_urls('http://', {{ settings.DJANGO_CDN_DOMAINS|safe }}, '{{ settings.DJANGO_PREFIX }}/wlheatmap/tile/${z}/${x},${y}.png?colour=255,0,0&accespoint__ssid__icontains=WirelessLeiden'); 185 var url = get_balanced_urls('http://', {{ settings.DJANGO_CDN_DOMAINS|safe }}, 186 '{{ settings.DJANGO_PREFIX }}/wlheatmap/tile/${z}/${x},${y}.png?colour=255,0,0&accespoint__organization=WirelessLeiden'); 185 187 options = OpenLayers.Util.extend({ numZoomLevels: 21 }, options); 186 188 var newArguments = [name, url, options]; … … 196 198 OpenLayers.Layer.OSM.Overlay4 = OpenLayers.Class(OpenLayers.Layer.OSM, { 197 199 initialize: function(name, options) { 198 var url = get_balanced_urls('http://', {{ settings.DJANGO_CDN_DOMAINS|safe }}, '{{ settings.DJANGO_PREFIX }}/wlheatmap/tile/${z}/${x},${y}.png?colour=50,150,50&signaal__gte=0&signaal__lte=100'); 200 var url = get_balanced_urls('http://', {{ settings.DJANGO_CDN_DOMAINS|safe }}, 201 '{{ settings.DJANGO_PREFIX }}/wlheatmap/tile/${z}/${x},${y}.png?colour=50,150,50&signaal__gte=0&signaal__lte=100'); 199 202 options = OpenLayers.Util.extend({ numZoomLevels: 21 }, options); 200 203 var newArguments = [name, url, options];
Note:
See TracChangeset
for help on using the changeset viewer.