Changeset 9592 for src/django_gheat/wlheatmap
- Timestamp:
- Aug 28, 2011, 1:00:28 PM (13 years ago)
- Location:
- src/django_gheat/wlheatmap
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
src/django_gheat/wlheatmap/filters.py
r9579 r9592 20 20 # Get list if accespoints found in the specific 'Meting', and make this is list. 21 21 wirelessleiden_ssid = Meting.objects.filter(meetrondje=mr, 22 accespoint__organization ='WirelessLeiden').\22 accespoint__organization__name='WirelessLeiden').\ 23 23 values_list('accespoint__ssid',flat=True).\ 24 24 order_by('accespoint__ssid').distinct() -
src/django_gheat/wlheatmap/nodelist.py
r9579 r9592 40 40 filter = {} 41 41 filter.update({ 42 'organization ' : 'WirelessLeiden',42 'organization__name' : 'WirelessLeiden', 43 43 'meting__latitude__lt' : maxlat, 44 44 'meting__longitude__lt' : maxlon, -
src/django_gheat/wlheatmap/templates/js/LayerBase.js
r9579 r9592 184 184 initialize: function(name, options) { 185 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');186 '{{ settings.DJANGO_PREFIX }}/wlheatmap/tile/${z}/${x},${y}.png?colour=255,0,0&accespoint__organization__name=WirelessLeiden'); 187 187 options = OpenLayers.Util.extend({ numZoomLevels: 21 }, options); 188 188 var newArguments = [name, url, options];
Note:
See TracChangeset
for help on using the changeset viewer.