Changeset 9358 for src/django_gheat/website/static
- Timestamp:
- Jul 7, 2011, 7:23:54 AM (14 years ago)
- Location:
- src/django_gheat/website/static
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
src/django_gheat/website/static/OpenStreetMap.js
r9302 r9358 45 45 initialize: function(name, options) { 46 46 var url = [ 47 "/website/osm-proxy/${z}/${x},${y}.png", 47 "http://a.osmproxy.wirelessleiden.nl/heatmap/osm-proxy/${z}/${x},${y}.png", 48 "http://b.osmproxy.wirelessleiden.nl/heatmap/osm-proxy/${z}/${x},${y}.png", 49 "http://c.osmproxy.wirelessleiden.nl/heatmap/osm-proxy/${z}/${x},${y}.png", 48 50 ]; 49 51 options = OpenLayers.Util.extend({ numZoomLevels: 19 }, options); … … 161 163 initialize: function(name, options) { 162 164 var url = [ 163 " /website/tile/${z}/${x},${y}.png?colour=90,90,90"165 "tile/${z}/${x},${y}.png?colour=90,90,90" 164 166 ]; 165 167 options = OpenLayers.Util.extend({ numZoomLevels: 21 }, options); … … 177 179 initialize: function(name, options) { 178 180 var url = [ 179 " /website/tile/${z}/${x},${y}.png?colour=255,0,0&accespoint__ssid__icontains=WirelessLeiden"181 "tile/${z}/${x},${y}.png?colour=255,0,0&accespoint__ssid__icontains=WirelessLeiden" 180 182 ]; 181 183 options = OpenLayers.Util.extend({ numZoomLevels: 21 }, options); … … 193 195 initialize: function(name, options) { 194 196 var url = [ 195 " /website/tile/${z}/${x},${y}.png?colour=250,250,0&signaal__gte=0&signaal__lte=100"197 "tile/${z}/${x},${y}.png?colour=250,250,0&signaal__gte=0&signaal__lte=100" 196 198 ]; 197 199 options = OpenLayers.Util.extend({ numZoomLevels: 21 }, options); -
src/django_gheat/website/static/heatmap_extensions.js
r9347 r9358 4 4 */ 5 5 function getNodeList(zoomlevel, mousepos){ 6 $.getJSON(" /website/nodelist/" + zoomlevel + "," + mousepos.lat + "," + mousepos.lon,6 $.getJSON("nodelist/" + zoomlevel + "," + mousepos.lat + "," + mousepos.lon, 7 7 function(json){ 8 8 content = 'Wireless Leiden nodes on mouseposition:<br /><b>'; … … 68 68 stop: function(event, sig){ 69 69 signallayer = map.getLayersByName('signallayer'); 70 signallayer[0].setUrl(" /website/tile/${z}/${x},${y}.png?colour=250,250,0&signaal__gte=" + sig.values[0] + "&signaal__lte=" + sig.values[1]);70 signallayer[0].setUrl("tile/${z}/${x},${y}.png?colour=250,250,0&signaal__gte=" + sig.values[0] + "&signaal__lte=" + sig.values[1]); 71 71 signallayer[0].redraw(); 72 72 }, … … 169 169 * http://stackoverflow.com/questions/170986/what-is-the-best-way-to-add-options-to-a-select-from-an-array-with-jquery 170 170 */ 171 $.getJSON(" /website/filters/",171 $.getJSON("filters/", 172 172 function(json) { 173 173 $.each(json, function(i,json){ … … 203 203 initialize: function(name, options) { 204 204 var url = [ 205 " /website/tile/${z}/${x},${y}.png?&colour=" + colour + "&meetrondje__gebruiker__naam=" + user205 "tile/${z}/${x},${y}.png?&colour=" + colour + "&meetrondje__gebruiker__naam=" + user 206 206 ]; 207 207 options = OpenLayers.Util.extend({ numZoomLevels: 21 }, options); … … 240 240 initialize: function(name, options) { 241 241 var url = [ 242 " /website/tile/${z}/${x},${y}.png?&colour=" + colour + "&accespoint__ssid=" + node242 "tile/${z}/${x},${y}.png?&colour=" + colour + "&accespoint__ssid=" + node 243 243 ]; 244 244 options = OpenLayers.Util.extend({ numZoomLevels: 21 }, options); … … 326 326 initialize: function(name, options) { 327 327 var url = [ 328 " /website/tile/${z}/${x},${y}.png?&colour=" + colour + user + dataset + wlnode + start_date + end_date328 "tile/${z}/${x},${y}.png?&colour=" + colour + user + dataset + wlnode + start_date + end_date 329 329 ]; 330 330 options = OpenLayers.Util.extend({ numZoomLevels: 21 }, options);
Note:
See TracChangeset
for help on using the changeset viewer.