Changeset 9406 for src/django_gheat/wlheatmap
- Timestamp:
- Jul 16, 2011, 6:07:39 PM (13 years ago)
- Location:
- src/django_gheat/wlheatmap/static
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
src/django_gheat/wlheatmap/static/heatmap.js
r9400 r9406 72 72 */ 73 73 74 $("#default").append("<span id=\"" + layerHeatmap.name + "\">< input type=checkbox id=togglelayer /><div id='layer_switcher_colour' style='background-color:rgb(" + layerHeatmap.colour + ")'/><font>" + layerHeatmap.name + " </font><br /></span>");74 $("#default").append("<span id=\"" + layerHeatmap.name + "\"><div id='layer_switcher_colour' style='background-color:rgb(" + layerHeatmap.colour + ")' /><input type=checkbox id=togglelayer /><font>" + layerHeatmap.name + " </font><br /></span>"); 75 75 76 $("#default").append("<span id=\"" + layerHeatmap2.name + "\">< input type=checkbox id=togglelayer /><div id='layer_switcher_colour' style='background-color:rgb(" + layerHeatmap2.colour + ")'/><font>" + layerHeatmap2.name + " </font><br /></span>");76 $("#default").append("<span id=\"" + layerHeatmap2.name + "\"><div id='layer_switcher_colour' style='background-color:rgb(" + layerHeatmap2.colour + ")' /><input type=checkbox id=togglelayer checked/><font>" + layerHeatmap2.name + " </font><br /></span>"); 77 77 78 $("#default").append("<span id=\"" + layerHeatmap3.name + "\">< input type=checkbox id=togglelayer checked/><div id='layer_switcher_colour' style='background-color:rgb(" + layerHeatmap3.colour + ")'/><font>" + layerHeatmap3.name + " </font><br /></span>");78 $("#default").append("<span id=\"" + layerHeatmap3.name + "\"><div id='layer_switcher_colour' style='background-color:rgb(" + layerHeatmap3.colour + ")' /><input type=checkbox id=togglelayer checked/><font>" + layerHeatmap3.name + " </font><br /></span>"); 79 79 80 $("#default").append("<span id=\"" + signallayer.name + "\">< input type=checkbox id=togglelayer checked /><div id='layer_switcher_colour' style='background-color:rgb(" + signallayer.colour + ")'/><font>Signal strength: 0 - 100</font><br /></span>");80 $("#default").append("<span id=\"" + signallayer.name + "\"><div id='layer_switcher_colour' style='background-color:rgb(" + signallayer.colour + ")' /><input type=checkbox id=togglelayer checked /><font>Signal strength: 0 - 100</font><br /></span>"); 81 81 } -
src/django_gheat/wlheatmap/static/heatmap_extensions.js
r9405 r9406 220 220 filterlayer = new OpenLayers.Layer.OSM.Overlay(user, {isBaseLayer: false, visibility: true}); 221 221 map.addLayer(filterlayer); 222 $("#user").append("<span id=\"" + user + "\">< input type=checkbox id=togglelayer checked /><div id='layer_switcher_colour' style='background-color:rgb(" + colour + ")'/><font>" + user + " </font><a id=rmvlayer>X</a><br /></span>");222 $("#user").append("<span id=\"" + user + "\"><div id='layer_switcher_colour' style='background-color:rgb(" + colour + ")' /><input type=checkbox id=togglelayer checked /><font>" + user + " </font><a id=rmvlayer>X</a><br /></span>"); 223 223 }); 224 224 $(this).text('(Del all users'); … … 257 257 nodefilterlayer = new OpenLayers.Layer.OSM.Overlay(node, {isBaseLayer: false, visibility: true}); 258 258 map.addLayer(nodefilterlayer); 259 $("#node").append("<span class='node' id=\"" + node + "\">< input type=checkbox id=togglelayer checked /><div id='layer_switcher_colour' style='background-color:rgb(" + colour + ")'/><font>" + node + " </font><a id=rmvlayer>X</a><br /></span>");259 $("#node").append("<span class='node' id=\"" + node + "\"><div id='layer_switcher_colour' style='background-color:rgb(" + colour + ")' /><input type=checkbox id=togglelayer checked /><font>" + node + " </font><a id=rmvlayer>X</a><br /></span>"); 260 260 }); 261 261 $(this).text('(Del all nodes)'); … … 347 347 map.addLayer(filterlayer); 348 348 349 $("#custom").append("<span id=\"" + lname + "\">< input type=checkbox id=togglelayer checked /><div id='layer_switcher_colour' style='background-color:rgb(" + colour + ")'/><font>" + lname + " </font><a id=rmvlayer>X</a><br /></span>");349 $("#custom").append("<span id=\"" + lname + "\"><div id='layer_switcher_colour' style='background-color:rgb(" + colour + ")' /><input type=checkbox id=togglelayer checked /><font>" + lname + " </font><a id=rmvlayer>X</a><br /></span>"); 350 350 }); 351 351 });
Note:
See TracChangeset
for help on using the changeset viewer.