Changeset 9358 for src/django_gheat/website/static/heatmap_extensions.js
- Timestamp:
- Jul 7, 2011, 7:23:54 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
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.